• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jqueguiner / words2num2 / 30246936853
59%
main: 59%

Build:
Build:
LAST BUILD BRANCH: fix-spoken-year-forms
DEFAULT BRANCH: main
Ran 27 Jul 2026 07:40AM UTC
Jobs 6
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jul 2026 07:39AM UTC coverage: 59.459%. Remained the same
30246936853

Pull #6

github

jlqueguiner
feat(core): add "digits" mode for spoken digit-by-digit sequences

Cardinal parsing mis-handles digit-by-digit spellings — "two seven five"
-> 14, "seven eight three one eight" -> 27 — yet dictated house numbers,
zip codes and phone-style runs are commonly spelled this way (observed in
ASR transcripts of spoken postal addresses).

Add Converter::to_digits and a "digits" conversion type: each whitespace
token of a run must be a single-digit number word (0-9) in the target
language (via the existing per-language cardinal converter); the run is
concatenated instead of summed. Any non-digit or 10+ token declines, so the
sentence walker falls back to its longest cardinal parse — a genuine
cardinal is never turned into a digit string.

  "Two seven five" -> "275"   |  "one eight nine zero zero one one" -> "1890011"
  "sieben acht drei" (de) -> "783"  |  "sixty-one hundred Main St" -> unchanged

Pure-Rust core (words2num2-core), language-agnostic, non-breaking, unit
tested. Limitation: numeric value type collapses a leading zero.
Pull Request #6: feat(core): "digits" mode for spoken digit-by-digit sequences

44 of 74 relevant lines covered (59.46%)

3.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.14 - 30246936853.1 27 Jul 2026 07:42AM UTC 6
58.9
GitHub Action Run
2 3.12 - 30246936853.2 27 Jul 2026 07:42AM UTC 6
59.46
GitHub Action Run
3 3.13 - 30246936853.3 27 Jul 2026 07:42AM UTC 6
59.46
GitHub Action Run
4 3.11 - 30246936853.4 27 Jul 2026 07:42AM UTC 6
59.46
GitHub Action Run
5 3.15 - 30246936853.5 27 Jul 2026 07:42AM UTC 6
58.9
GitHub Action Run
6 3.10 - 30246936853.6 27 Jul 2026 07:42AM UTC 6
59.46
GitHub Action Run
Source Files on build 30246936853
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #6
  • PR Base - main (#29639042259)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc