From 3df109adfccedeb134dea4ba2ea9a2da89872048 Mon Sep 17 00:00:00 2001 From: Isuxiz Slidder <48672727+Isuxiz@users.noreply.github.com> Date: 星期一, 31 三月 2025 17:51:52 +0800 Subject: [PATCH] Update model.py to fix "IndexError: index 1 is out of bounds for dimension 1 with size 0" (#2454) --- fun_text_processing/README.md | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fun_text_processing/README.md b/fun_text_processing/README.md index 878601b..9947fa4 100644 --- a/fun_text_processing/README.md +++ b/fun_text_processing/README.md @@ -3,12 +3,12 @@ ### Introduction -FunTextProcessing is a Python toolkit for fundamental text processing in ASR including text processing , inverse text processing, which is included in the `FunASR`. +FunTextProcessing is a Python toolkit for fundamental text processing in ASR including text processing , inverse text processing, num2words, which is included in the `FunASR`. ### Highlights -- FunTextProcessing supports inverse text processing (ITN), text processing (TN). -- FunTextProcessing supports multilingual, 10+ languages for ITN, 5 languages for TN. +- FunTextProcessing supports inverse text processing (ITN), text processing (TN), number to words (num2words). +- FunTextProcessing supports multilingual, 10+ languages for ITN, 5 languages for TN, 50+ languages for num2words. ### Example @@ -25,7 +25,8 @@ ### Acknowledge 1. We borrowed a lot of codes from [NeMo](https://github.com/NVIDIA/NeMo). 2. We refered the codes from [WeTextProcessing](https://github.com/wenet-e2e/WeTextProcessing) for Chinese inverse text normalization. +3. We borrowed a lot of codes from [num2words](https://pypi.org/project/num2words/) library for convert the number to words function in some languages. ### License -This project is licensed under the Apache-2.0 license. FunTextProcessing also contains various third-party components and some code modified from other repos under other open source licenses. +This project is licensed under the [The MIT License](https://opensource.org/licenses/MIT). FunTextProcessing also contains various third-party components and some code modified from other repos under other open source licenses. -- Gitblit v1.9.1