Fix documentation for check_characters.py script

This commit is contained in:
CatalinVoss 2021-04-03 17:45:45 -07:00 committed by Reuben Morais
parent 449a723bf6
commit 51fd6170fa

View File

@ -1,8 +1,11 @@
"""
Usage: $ python3 check_characters.py "INFILE"
e.g. $ python3 check_characters.py -csv /home/data/french.csv
e.g. $ python3 check_characters.py -csv ../train.csv,../test.csv
e.g. $ python3 check_characters.py -alpha -csv ../train.csv
Usage:
From within the training/ directory, call this script as a module:
$ python3 -m coqui_stt_training.util.check_characters "INFILE"
e.g. $ python3 -m coqui_stt_training.util.check_characters -csv /home/data/french.csv
e.g. $ python3 -m coqui_stt_training.util.check_characters -csv ../train.csv,../test.csv
e.g. $ python3 -m coqui_stt_training.util.check_characters -alpha -csv ../train.csv
Point this script to your transcripts, and it returns
to the terminal the unique set of characters in those