You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: English ITN enhancements from NeMo reference
Time:
- Support numeric minutes with "past" (e.g. "ten past four" -> 04:10)
- Add "till" as alias for "to" (e.g. "quarter till two" -> 01:45)
- Add "o' clock" and "o clock" variants
- Zero-pad hours in to_hour.tsv
Telephone:
- Add "triple X" support (e.g. "triple five" -> 555)
Date:
- Add BCE, CE and long-form year suffixes
- Add H1/H2 financial half-year periods
- Add century ("nineteen hundreds" -> 1900s) and millennium ranges
- Add "X hundred" year form (e.g. "nineteen hundred" -> 1900)
Measure:
- Replace cdrewrite with finite string_map for pluralization (fixes OOM)
- Add -ies/-es rules and irregular plurals (feet, inches, ounces)
- Fix "per" unit priority to prefer direct TSV matches (e.g. mph)
0 commit comments