Furkan Gözükara
Furkan Gözükara

Reputation: 23850

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

Upvotes: 1

Views: 1355

Answers (2)

Olaf
Olaf

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

TakeItEasyDude
TakeItEasyDude

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

Related Questions