Skip to content

feat(tn): en-dash kept literal + detokenized (punctuation 42→43) - #73

Merged
Alex-Wengg merged 1 commit into
mainfrom
feat/en-tn-endash
Jul 9, 2026
Merged

Alex-Wengg merged 1 commit into
mainfrom
feat/en-tn-endash

Conversation

@Alex-Wengg

Copy link
Copy Markdown
Member

An en-dash between values (1961–1965) is kept literal and detokenized with a trailing space (nineteen sixty one– nineteen sixty five), matching NeMo's punctuation output. The en-dash is removed from the range tagger (which only tests hyphens, so 1980-1986 → "… to …" is unchanged) and added to the interior-split + detokenization close set.

en TN punctuation 42->43; range stays 20/20. No regressions; tests/fmt/clippy green.

🤖 Generated with Claude Code

An en-dash between values ("1961–1965") is kept literal and detokenized with
a trailing space ("nineteen sixty one– nineteen sixty five"), matching NeMo's
punctuation output. The en-dash is removed from the range tagger (which only
tests hyphens) and added to the interior-split + detok close set.

en TN punctuation 42->43; range stays 20/20. No regressions.
@Alex-Wengg
Alex-Wengg merged commit e69de96 into main Jul 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant