From bc3ad9c0f631ccb245b31b6cf6e4d757de6e6712 Mon Sep 17 00:00:00 2001 From: lzr265946 <lzr265946@alibaba-inc.com> Date: 星期四, 29 十二月 2022 17:56:33 +0800 Subject: [PATCH] Merge branch 'dev' of https://github.com/alibaba/FunASR into dev --- fun_text_processing/README.md | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fun_text_processing/README.md b/fun_text_processing/README.md index 9244e20..9778493 100644 --- a/fun_text_processing/README.md +++ b/fun_text_processing/README.md @@ -21,12 +21,14 @@ #### Inverse Text Processing (ITN) 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. +- ITN example for English ``` python fun_text_processing/inverse_text_normalization/inverse_normalize.py --text="one hundred twenty three" --language=en ``` +- ITN example for Indonesian ``` -python fun_text_processing/inverse_text_normalization/inverse_normalize.py --text="ratus dua puluh tiga" --language=id --cache_dir ./model/ --output_file output.txt --overwrite_cache +python fun_text_processing/inverse_text_normalization/inverse_normalize.py --text="ratus dua puluh tiga" --language=id --cache_dir ./model/ --output_file output.txt cat output.txt ``` -- Gitblit v1.9.1