Skip to content

Commit 7f73cc2

Browse files
committed
removed the unused empty string implementation
Signed-off-by: Namrata Gachchi <ngachchi@nvidia.com>
1 parent 09090b3 commit 7f73cc2

File tree

1 file changed

+2
-2
lines changed
  • nemo_text_processing/text_normalization/hi/taggers

1 file changed

+2
-2
lines changed

nemo_text_processing/text_normalization/hi/taggers/date.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ def __init__(self, cardinal: GraphFst):
6363

6464
years_graph = pynutil.insert("year: \"") + graph_year + pynutil.insert("\"") + insert_space
6565

66-
graph_dd_mm = days_graph + (delete_dash | pynini.accep("")) + months_graph
66+
graph_dd_mm = days_graph + delete_dash + months_graph
6767

68-
graph_mm_dd = months_graph + (delete_dash | pynini.accep("")) + days_graph
68+
graph_mm_dd = months_graph + delete_dash + days_graph
6969

7070
graph_mm_dd += pynutil.insert(" preserve_order: true ")
7171

0 commit comments

Comments
 (0)