Jaymon / transcribe

Convert images or audio files to plain text on the command line
MIT License
32 stars 7 forks source link

Can I specify the language to transcribe, like Chinese? #5

Closed CicoZhang closed 4 years ago

CicoZhang commented 4 years ago

Is there an parameter to specify language, like Chinese?

CicoZhang commented 4 years ago

I find this. --language zh-CN https://github.com/Jaymon/transcribe/blob/5c431f320aae50bb67379f890001d330b0fb71dc/transcribe/__main__.py#L55

Jaymon commented 4 years ago

Glad you found the flag, you can see all the flags without looking at the code:

$ transcribe speech --help

Or, if you are running from master:

$ python3 -m transcribe speech --help