Reputation: 23850
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
Upvotes: 1
Views: 1355
Reputation: 169
Why don't you use the JSON output of the native client? Add
--json
to your call. For more options check the argument list.
Upvotes: 0
Reputation: 146
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
Upvotes: 4