Skip to content

Commit 9f7e876

Browse files
committed
fixing all the feedbacks
Signed-off-by: hmlee245 <hmlee245@gmail.com>
1 parent fa304a2 commit 9f7e876

10 files changed

Lines changed: 5 additions & 391 deletions

File tree

nemo_text_processing/inverse_text_normalization/ko/clean_eval_data.py

Lines changed: 0 additions & 361 deletions
This file was deleted.

nemo_text_processing/inverse_text_normalization/ko/data/numbers/zero.tsv

Lines changed: 0 additions & 1 deletion
This file was deleted.

nemo_text_processing/inverse_text_normalization/ko/graph_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
1+
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
22
# Copyright 2015 and onwards Google, Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");

nemo_text_processing/inverse_text_normalization/ko/taggers/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from nemo_text_processing.inverse_text_normalization.ko.taggers.tokenize_and_classify import ClassifyFst
16-
from nemo_text_processing.inverse_text_normalization.ko.verbalizers.verbalize import VerbalizeFst
17-
from nemo_text_processing.inverse_text_normalization.ko.verbalizers.verbalize_final import VerbalizeFinalFst

nemo_text_processing/inverse_text_normalization/ko/taggers/cardinal.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,9 @@ class CardinalFst(GraphFst):
3131
def __init__(self):
3232
super().__init__(name="cardinal", kind="classify")
3333

34-
graph_zero = pynini.string_file(get_abs_path("data/numbers/zero.tsv"))
35-
graph_digit = pynini.string_file(get_abs_path("data/numbers/digit.tsv"))
3634
graph_zero = pynini.cross("영", "0")
35+
graph_digit = pynini.string_file(get_abs_path("data/numbers/digit.tsv"))
3736

38-
graph_negative = pynini.cross("마이너스", "-")
39-
graph_negative += delete_space
40-
4137
ten = pynutil.delete("십")
4238
ten_alt = pynini.cross("십", "1")
4339
### Responsible for second digit of two digit number. ex) 20's 2

0 commit comments

Comments
 (0)