Skip to content

Parse written text as numbers e.g. five thousand three hundred fifty two = 5352

License

Notifications You must be signed in to change notification settings

afonsof/multilingual-number-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multilingual-number-parser

This project started as a need for Metamaze where we parse words to actual numbers.

First relied on words-to-numbers but it couldn't handle multiple languages. So based on the existing code base I've rewritten the parser so it can support multiple languages.

This parser is also able to succeed in tests which words-to-numbers couldn't.

Feel free to open issues/PR's to support other languages!

This wasn't possible without the authors of words-to-numbers.

See the tests folders on how to use this package.

Supported languages

  • English
  • Dutch
  • Portuguese

Feel free to open issues to support more languages.

About

Parse written text as numbers e.g. five thousand three hundred fifty two = 5352

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%