Commit 0fb5b04
committed
fix: strip commas in numbers for Chinese TN Measure (#284)
Use cdrewrite to remove commas between digits before matching numbers
in the Measure rule, so western-formatted numbers like 1,000,000米
correctly normalize to 一百万米.
Note: numbers exceeding 万级 (>99,999,999) still need 亿级 support
in Cardinal (#223), which is tracked separately.1 parent 53156d2 commit 0fb5b04
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments