|
|
2 gadi atpakaļ | |
|---|---|---|
| .. | ||
| inverse_text_normalization | 2 gadi atpakaļ | |
| num2words | 2 gadi atpakaļ | |
| text_normalization | 2 gadi atpakaļ | |
| README.md | 2 gadi atpakaļ | |
| __init__.py | 2 gadi atpakaļ | |
| install_pynini.sh | 3 gadi atpakaļ | |
FunTextProcessing is a Python toolkit for fundamental text processing in ASR including text processing , inverse text processing, num2words, which is included in the FunASR.
Given text inputs, such as speech recognition results, use fun_text_processing/inverse_text_normalization/inverse_normalize.py to output ITN results. You may refer to the following example scripts.
test_file=fun_text_processing/inverse_text_normalization/id/id_itn_test_input.txt
python fun_text_processing/inverse_text_normalization/inverse_normalize.py --input_file $test_file --cache_dir ./itn_model/ --output_file output.txt --language=id
This project is licensed under the The MIT License. FunTextProcessing also contains various third-party components and some code modified from other repos under other open source licenses.