OpenVoiceOS / OpenVoiceOS/ovos-number-parser

Add `numbers_to_digits` support for missing languages

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4
Forks
5
Avg merge
4d 22h
Merged PRs (30d)
2

Description

The numbers_to_digits function currently lacks support for several languages that have existing number parsing implementations. Consider adding support for the following languages:

  • Catalan (ca)
  • Danish (da)
  • French (fr)
  • Hungarian (hu)
  • Italian (it)
  • Swedish (sv)
  • Basque (eu)
  • Persian/Farsi (fa)

These languages already have number parsing capabilities in the codebase, making them good candidates for extending the numbers_to_digits functionality.

References:

Requested by: @JarbasAl

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the numbers_to_digits function and compare its supported languages with the existing number parsing implementations for ca, da, fr, hu, it, sv, eu, and fa. Read the referenced PR and discussion for context; done means numbers_to_digits supports all eight listed languages consistently with their existing parsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.