0

How to save output in text

Python

24th Jun 2020, 2:55 AM
sushmitha sushmitha
sushmitha sushmitha - avatar
3 Respostas
0
Text=r.recognition_google(audio, language=zh-CN
24th Jun 2020, 3:24 AM
sushmitha sushmitha
sushmitha sushmitha - avatar
0
Import speech_recognition as sr r = sr.Recognizer() With sr.AudioFile(file name.wav) as source: audio=r.record(source) Text=r.recognize_google(audio,language=zh-CN) Print(text)
24th Jun 2020, 3:34 AM
sushmitha sushmitha
sushmitha sushmitha - avatar