Python Voice Translation in 17 Minutes with Watson Speech to Text and Language Translator

  Рет қаралды 17,032

Nicholas Renotte

Nicholas Renotte

Күн бұрын

Watson NLP API's on their own are pretty neat...but
...by stacking multiple together you can unleash a heap of NLP prowess.
In this case, by stacking the Watson Speech to Text API and the Watson Language Translation API you're able to convert audio in one language to text in another in 15'ish minutes (the actual process runs in seconds). But why stop there! You could even then take that text and using text to speech to read it out to a user!
In this video you’ll learn how to:
1. Set up Watson Speech to Text and Language Translator
2. Convert baseline language from speech to text
3. Translate baseline language to another
GitHub:
github.com/nic...
Links Mentioned:
Speech to Text: cloud.ibm.com/...
Language Translator: cloud.ibm.com/...
Oh, and don't forget to connect with me!
LinkedIn: / nicholasrenotte
Facebook: / nickrenotte
GitHub: github.com/nic...
Happy coding!
Nick
P.s. Let me know how you go and drop a comment if you need a hand!

Пікірлер: 60
@bio199
@bio199 3 жыл бұрын
Definitely found this useful! simplified and great explanation of the process. Thank you!!! 👌👍👍
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Anytime!!
@E-Man08
@E-Man08 3 жыл бұрын
Thanks for these man! I got a question, do you think it would be possible to use a language identification for the speech instead of having to change the language manually? Also, does this work well with your text to speech?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Sure can, check this out @gogojijigo: cloud.ibm.com/apidocs/language-translator?code=python#identify
@abhishekrajeev3444
@abhishekrajeev3444 3 жыл бұрын
Great explanation my friend!!
@godwinudofia6586
@godwinudofia6586 2 жыл бұрын
Dear Nicholas, I am having troubles uploading my own audio files. Need help.
@vikashchand.
@vikashchand. 4 жыл бұрын
Cool stuff man. Do you think it might be possible to do this in real time? Something like the Talking Tom app ..?
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
Yep @Vikash Chand! I've got a vid planned for real time speech to text for interviews so could go it for voice translation as well, it would be close to real time!
@vikashchand.
@vikashchand. 4 жыл бұрын
@@NicholasRenotte perfect! 🤘
@pranavdange5695
@pranavdange5695 3 жыл бұрын
@@NicholasRenotte Waiting for the same Bro ❤️
@diegocaumont5677
@diegocaumont5677 4 жыл бұрын
Back at it againnnn, legoooo
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
You know it thanks @Diego Caumont!
@montezmusic
@montezmusic 3 жыл бұрын
I'm getting this error please help me sir. Listening... Recognizing... User said: translate hello 'NoneType' object has no attribute 'group' Code:elif 'translate' in query: try: speak('translating your sentences or words.....') query=query.replace("translate", " ") translator =Translator() result=translator.translate(query,dest='hi') speak('according the google translate') print(result.pronunciation) speak(result.pronunciation) except Exception as e: print(e) speak("try with the another sentences or try after sometime")
@rjcrabbe1210
@rjcrabbe1210 3 жыл бұрын
Hey Nick, for some reason Jupyter won't let me upload my mp3 file. Please help; here are my errors: DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode() Errno 2: No such file in directory
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Eyyy @RJ, this is due to an issue in PyJWT, try installing 1.7.1 and it should fix the issue. Example install: pip install PyJWT==1.7.1
@rjcrabbe1210
@rjcrabbe1210 3 жыл бұрын
@@NicholasRenotte thanks a lot Nick! Also i was able to get my other error fixed!!!!!!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
YESSS, perfect. Anytime @@rjcrabbe1210!
@rjcrabbe1210
@rjcrabbe1210 3 жыл бұрын
@@NicholasRenotte ayyy it worked!!!!
@rjcrabbe1210
@rjcrabbe1210 3 жыл бұрын
@@NicholasRenotte First Time I was FINALLY ABLE TO COMPLETE AND WATCH YOUR TUTORIALS. I AM SO HAPPPPPPYYYYYYYY. NOW TO CONVERT TEXT TO SPEECH. Any vids on that?
@andersonmungani8808
@andersonmungani8808 3 жыл бұрын
how do i install the ibm waston .... its giving me this error: ImportError: No module named 'ibm_watson'
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
The first couple of lines of code should install it for you @anderson. !pip install ibm-watson should do it.
@supipiarunodya2120
@supipiarunodya2120 2 жыл бұрын
Do I need to spend $200 to create IBM cloud account? I cant create an IBM cloud account. They asked for the credit card info.
@ifgcguitarclub1395
@ifgcguitarclub1395 3 жыл бұрын
is it possible from schemas source- voice language A ----phyton codes --- output- voice language B but the case in here is in realtime manner thank you for reply. im so interesdeted
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Could definitely add a text to speech pipeline to another language in here!
@johnrduartesgv
@johnrduartesgv 3 жыл бұрын
I appreciate the video it helped me with this project.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much! So glad you enjoyed it!
@kanishkawadhwani7485
@kanishkawadhwani7485 Жыл бұрын
did you have to take a watson account for the same?
@samikshakolhe5086
@samikshakolhe5086 3 жыл бұрын
I want to translate to other lan like korean,japanese...what should I have to use??
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Heya @Samiksha, ko for Korean and ja for Japanese: cloud.ibm.com/docs/language-translator?topic=language-translator-translation-models
@hamzaghraoui1622
@hamzaghraoui1622 2 жыл бұрын
hi nicholas can u do speech to speech translation project instead of speech to text please?
@athullyar6772
@athullyar6772 Жыл бұрын
I cant create an ibm account its showing error in creting account how to resolve this
@i_shoot_jello2423
@i_shoot_jello2423 3 жыл бұрын
how to add it for a streamer i speak English but i want to show up every language in the video plz help ty
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Hmm, haven't worked too much with streaming platforms my bad but it would probably be something to do with the view apis.
@i_shoot_jello2423
@i_shoot_jello2423 3 жыл бұрын
@@NicholasRenotte im just see if it can be done on a streaming platform im not sure how to do it if it can be done
@rayyanamir8560
@rayyanamir8560 2 жыл бұрын
Can i add this to my resumé??, Or do I have to add something more complex on my resumé??
@commandersleepy
@commandersleepy 4 ай бұрын
hey so what did u end up doing?
@atifasadkhan
@atifasadkhan 4 жыл бұрын
here we goooooooo
@NicholasRenotte
@NicholasRenotte 4 жыл бұрын
🙌 you know it @Atif khan, already working on this Sunday's vid!
@rodrigoreyes3952
@rodrigoreyes3952 2 жыл бұрын
Is gret video i have this proyed Build a Speech Translation Bot with Twilio Programmable Voice and IBM Watson do you have any totorial for this thanks
@a_01_aaditya_thakur69
@a_01_aaditya_thakur69 2 жыл бұрын
hey... hello thanks for this video i am getting apiexception error can you please tell me the solution
@ayushk3870
@ayushk3870 3 жыл бұрын
Thank you sir
@jihadketan
@jihadketan 2 жыл бұрын
مرحبا ممكن مساعدتي في انشاء مترجم صوتي باستخدام البايثون بدون اتصال بالانترنت .
@saketkumar7335
@saketkumar7335 3 жыл бұрын
You have put Indian flag ....now being an good Indian citizen I will have to click it
@noorchishti2108
@noorchishti2108 3 жыл бұрын
can i translate urdu language?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Not supported in Watson STT unfortunately!
@al-qasemalihuddin2968
@al-qasemalihuddin2968 3 жыл бұрын
Hello, Do you have a system design for this system? It could really help me.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Unfortunately I don't have one atm.
@lakshit6975
@lakshit6975 3 жыл бұрын
I don't know why you places the flag of india 🇮🇳 in the thumbnail what was it's reason 😅😂😂
@Ur.Podcast_Buddy
@Ur.Podcast_Buddy 2 жыл бұрын
To attract india users
@SHAIKASMAZABIBBTEC
@SHAIKASMAZABIBBTEC 3 жыл бұрын
with open('Welcome.mp3','rb') as f: res = st.recognize(audio=f, content_type='audio/mp3', model='en-AU_NarrowbandModel', continuous=True).get_result() I am getting an error in this DecodeError Traceback (most recent call last) DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Try upgrading the JWT library: pip install PyJWT==1.7.1 --upgrade
@adilkiddo
@adilkiddo 3 жыл бұрын
How i can contact you ? Do you have an Instagram id i want to tell you something !
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Hit me up on Discord!
@anushkajoshi8117
@anushkajoshi8117 2 жыл бұрын
Hello, Do you have a system design for this system? It could really help me.
AI Resume Insights in 20 Minutes Using Personality Insights and Python
19:06
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3 МЛН
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 4,2 МЛН
AI Speech to Text for LONG Files in 15 Minutes with Watson STT and Python
17:39
Creating a Speech to Text Program with Python
8:38
CS Coach
Рет қаралды 74 М.
Pandas for Data Science in 20 Minutes | Python Crash Course
23:06
Nicholas Renotte
Рет қаралды 135 М.
Speech Recognition & Voice Synthesis in React (Web Speech API)
31:00
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3 МЛН