mozilla / DSAlign

DeepSpeech based forced alignment tool
Mozilla Public License 2.0
235 stars 33 forks source link

trying to run the example in the readme.md #7

Closed tensorfoo closed 5 years ago

tensorfoo commented 5 years ago
$ bin/align.sh --output-max-cer 15 --loglevel 10 data/test1/audio.wav data/test1/transcript.txt data/test1/aligned.json

align.py: error: unrecognized arguments: data/test1/audio.wav data/test1/transcript.txt data/test1/aligned.json

it seems the app has been rewritten to require flags that are not present in the example. i've tried adding in --audio and --script but it's unclear what to put before the 3rd argument (the json one). Also is there a step missing somewhere that would have generated the json file?

Tortoise17 commented 5 years ago

-- aligned -- script they are missing.

tensorfoo commented 5 years ago

thank you @Tortoise17, that worked,

bin/align.sh --output-max-cer 15 --loglevel 10 --audio data/test1/audio.wav --script data/test1/transcript.txt --aligned data/test1/aligned.json --tlog data/test1/log.txt