speech-recognitionspeech-to-textmozilla-deepspeech

How to save transcript to a text file in Mozilla DeepSpeech?


This command is working and display the output

However I could not find the command to save the output a text file

What are my options? I want to generate text of speech to upload youtube video for subtitling (yes youtube algorithm failed to auto generate)

deepspeech --model deepspeech-0.8.2-models.pbmm --scorer deepspeech-0.8.2-models.scorer --audio audio/a.wav

Here the above command output but I can not save output to a file which I need

enter image description here


Solution

  • Just add

    > output.txt
    

    In your case:

    deepspeech --model deepspeech-0.8.2-models.pbmm --scorer deepspeech-0.8.2-models.scorer --audio audio/a.wav > output.txt