Skip to content

Commit 109d071

Browse files
committed
Fix Cardinal and optimize logic
Signed-off-by: folivoramanh <palasek182@gmail.com>
1 parent 2df93bc commit 109d071

File tree

6 files changed

+119
-266
lines changed

6 files changed

+119
-266
lines changed

Jenkinsfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ pipeline {
176176
}
177177
}
178178

179-
stage('L0: Create FR TN/ITN & VI ITN & HU TN & IT TN') {
179+
stage('L0: Create FR TN/ITN & VI TN/ITN & HU TN & IT TN') {
180180
when {
181181
anyOf {
182182
branch 'main'
@@ -200,6 +200,11 @@ pipeline {
200200
sh 'CUDA_VISIBLE_DEVICES="" python nemo_text_processing/inverse_text_normalization/inverse_normalize.py --lang=vi --text="một ngàn " --cache_dir ${VI_TN_CACHE}'
201201
}
202202
}
203+
stage('L0: VI TN grammars') {
204+
steps {
205+
sh 'CUDA_VISIBLE_DEVICES="" python nemo_text_processing/text_normalization/normalize.py --lang=vi --text="100" --cache_dir ${VI_TN_CACHE}'
206+
}
207+
}
203208
stage('L0: HU TN grammars') {
204209
steps {
205210
sh 'CUDA_VISIBLE_DEVICES="" python nemo_text_processing/text_normalization/normalize.py --lang=hu --text="100" --cache_dir ${HU_TN_CACHE}'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

nemo_text_processing/text_normalization/vi/data/numbers/units.tsv renamed to nemo_text_processing/text_normalization/vi/data/numbers/magnitudes.tsv

File renamed without changes.

0 commit comments

Comments
 (0)