We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a61bd commit d3e112fCopy full SHA for d3e112f
itn/chinese/rules/cardinal.py
@@ -135,7 +135,7 @@ def build_tagger(self):
135
# 十七八美元 => $17~18, 四十五六岁 => 45-6岁,
136
# 三百七八公里 => 370-80km, 三百七八十千克 => 370-80kg
137
number_exclude_0_to_9 |= special_tilde
138
- number_exclude_0_to_9 |= add_weight(_special_dash, -100.0)
+ number_exclude_0_to_9 |= add_weight(_special_dash, -0.1)
139
140
self.number_exclude_0_to_9 = (sign.ques +
141
number_exclude_0_to_9).optimize()
0 commit comments