Skip to content

Commit eb4f396

Browse files
committed
修改数字规则,六万->6万
1 parent 39a11cf commit eb4f396

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

itn/chinese/rules/cardinal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def build_tagger(self):
101101
)
102102
)
103103
ten_thousand |= (
104-
(thousand | hundred)
104+
(thousand | hundred | tens | teen | digits)
105105
+ accep("万")
106106
+ delete("零").ques
107107
+ (thousand | hundred | tens | teen | digits).ques

itn/zh_itn_tagger.fst

3.79 KB
Binary file not shown.

0 commit comments

Comments
 (0)