Skip to content

fix: sixty, seventy normalizes to 60 70 (issue #42 DoD) - #45

Merged
jqueguiner merged 1 commit into
mainfrom
fix/sixty-seventy-keep-separate
Nov 11, 2026
Merged

jqueguiner merged 1 commit into
mainfrom
fix/sixty-seventy-keep-separate

Conversation

@jqueguiner

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • uv run pytest tests/e2e tests/unit (1701 passed)
  • Probe: sixty, seventy / 60, 70 → 60 70; phones / eleventh 2000 and twelve / twenty-one unchanged

Made with Cursor

…> 60 70)

Issue #42 expected "60 70"; #43 left "6070" after digit collapse. Protect
multi-digit list commas, stop stripping tens-list commas before expand, and
move num2words2 to the dev group.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jqueguiner
jqueguiner merged commit b58bb4f into main Nov 11, 2026
10 checks passed
@jqueguiner
jqueguiner deleted the fix/sixty-seventy-keep-separate branch November 11, 2026 20:03
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.

gladia-3 leaves a written number unexpanded at the end of a sentence, and skips the second of two adjacent numbers

2 participants