【问题标题】:How to save transcript to a text file in Mozilla DeepSpeech?如何在 Mozilla DeepSpeech 中将成绩单保存到文本文件中?
【发布时间】:2020-11-04 16:38:46
【问题描述】:

此命令正在运行并显示输出

但是我找不到将输出保存为文本文件的命令

我有哪些选择?我想生成语音文本以上传 youtube 视频以进行字幕(是的 youtube 算法无法自动生成)

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

这里是上面的命令输出,但我无法将输出保存到我​​需要的文件中

【问题讨论】:

    标签: speech-recognition speech-to-text mozilla-deepspeech


    【解决方案1】:

    只需添加

    > output.txt
    

    在你的情况下:

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

    【讨论】:

      【解决方案2】:

      为什么不使用本机客户端的 JSON 输出?添加

      --json
      

      接听您的电话。更多选项请查看argument list

      【讨论】:

        猜你喜欢
        • 2013-09-04
        • 2011-09-07
        • 1970-01-01
        • 1970-01-01
        • 2018-11-08
        • 2019-01-22
        • 2019-05-23
        • 2013-09-20
        • 1970-01-01
        相关资源
        最近更新 更多