From 5b6bd201412636b6d7fa85afaf24e42cd54e52cd Mon Sep 17 00:00:00 2001 From: jmwang66 <wangjiaming.wjm@alibaba-inc.com> Date: 星期五, 30 十二月 2022 18:50:07 +0800 Subject: [PATCH] Merge branch 'dev' of https://github.com/alibaba-damo-academy/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