Skip to content
/ numword Public

numword generates and parses number words in natural languages.

License

Notifications You must be signed in to change notification settings

gfis/numword

Repository files navigation

numword

numword generates and parses number words in natural languages. For example, it tells you that 194706 is "einhundertvierundneunzigtausendsiebenhundertsechs" in German, or that "mille neuf cent quarante-sept" in French is 1947.

There are Java classes for more than 40 languages: Arabic (ديسمبر), Czech (čeština), Chinese 中文 (zhōngwén), Danish (Dansk), German (Deutsch), English, Esperanto, Estonian, Finnish, French (Français), Irish (Gaeilge), Georgian, Greek (Ελληνικά), Hungarian (Magyar), Icelandic (íslenska), Italian (Italiano), Japanese, Korean, Latin (Latinum), Latvian (Latviešu), Lithuanian (Lietuvių), Ljoban (artificial), Dutch (Nederlands), Norwegian (Norsk), Polish (Polski), Portuguese (Português), Rumantsch Grischun, Roman Numbers, Romanian (Română), Russian (Русский), Slovak, Slovenian (Slovenščina), Spanish (Español), Swedish (Svenska), Thai (ไทย), Klingon (tlhIngan-Hol), Turkish (Türkçe), Vietnamese (tiếng Việt). Furthermore, Roman numbers (MCMXLVII = 1947), Braille codes and most Unicode symbols can be displayed.

Other number-related words and phrases are also generated for some languages, among them: month names, week days, seasons, time of day, cardinal directions and planets.

The program can be used for vocabulary trainers, calendar programs, spelling clocks, check amounts in writing and the like.

In western languages, the higher numbers use common latin prefixes for powers of 10^3 or 10^6: "mill", "bill", "trill" and so on. In German, the program spells numbers up to (10^6)^20 = "Vigintilliarden".

About

numword generates and parses number words in natural languages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published