Skip to content

一個Line的chatbot,可以幫助你把語音訊息轉成文字訊息使得閱讀更加方便 / A line chatbot which help you translate voice msg to text msg.

License

Notifications You must be signed in to change notification settings

john850512/TranslatedPudding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TranslatedPudding

See here for chinese version of readme.

What is TranslatedPudding(翻譯布丁)?

Line provides voice message which can be transmitted without typing any text. But this type of message is not very convenient for message receiver. There are serveral reasons as follows:

  1. For instance, if you are in a metting or in school, you can not understand those voice messages because you can not play those voice messages.
  2. Although voice message is very convenient for message sender, but for message receiver, voice message spends lots of time to get the content(you must repeat it again).

So TranslatedPudding(翻譯布丁), a line chatbot is created to help you translate voice msg to text message.

Smiley face

This project's name is inspired by 都拉A夢-翻譯蒟蒻, just because I like eat pudding more than konjac:|

How to Use?

The chatbot service is not open yet(maybe will open in the feature), but I provide source codes and you can deploy TranslatedPudding any modify it by youself(see below).

When deployment is finish, just add this chatbot into any group and then use it!

In this chatbot, you can typing three keyword to open/close translation service, or see helping message:

  1. 翻譯布丁: show what keywords you can use.
  2. 吃下翻譯布丁: open translation service.
  3. 布丁消化完了: close translation service.

btw, when translation mode is on, there exist some easter egg to make funny(try to send some sticker message!)

Demo

After open translation service, anyone in the group can send voice message and TranslatedPudding will help you transfer to text message automatically. If you don't want to use this service, just type '布丁消化完了' and close service.

Deployment

I deploy this chatbot on Heroku now, of course you can also deploy on your own service.

Use Language & Packages

  • Python
    • Line messaging api, flask, SpeechRecognition, pydub, ffprobe, ffmpeg

Detail

I will write a blog to describe this project in detail...if I still remember:|

About

一個Line的chatbot,可以幫助你把語音訊息轉成文字訊息使得閱讀更加方便 / A line chatbot which help you translate voice msg to text msg.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages