We provide easy to configure, lightweight open source C++, Java, JavaScript, Python libraries and a LibreOffice Spreadsheet extension for writing out numbers (including cardinal and ordinal numbers, ordinal indicators and money amounts with currencies) in words in more than 50 languages and numeral systems.
Join the Numbertext/LibreOffice development: check the Soros language tutorial in the integrated language module development environment, fix bugs or missing parts of the language modules, or create new modules based on the existing ones.
Origin of the “spell out” component of LibreOffice 6.1, NUMBERTEXT/MONEYTEXT functions and Soros programming language was developed in 2009 for generalization of BAHTTEXT spreadsheet function, a function of Microsoft Excel to write out numbers and Thai money amounts using Thai words, standardized by ECMA–376 and ISO/IEC 29 500:2008 Office Open XML format.
Soros programming language is based on regular expressions, just like its small interpreters (in Python: less, than 120 lines). Despite its simplicity, it can handle language variants, complex spelling functions and rules in a concise manner.
Extension with NUMBERTEXT and MONEYTEXT spreadsheet functions: numbertext-1.0.11.oxt (description)
Source distribution (1.0.11): libnumbertext-1.0.11.tar.xz (installation)
JAR package: numbertext.jar (1.0.11). Usage: java -jar numbertext.jar
Repository on GitHub: Numbertext/libnumbertext
module or fix an old one in the integrated development environment.
Specification and Tutorial.
Please, use GitHub Issues to report problems in code and language data.
FSF.hu Foundation, Hungary • NLNet Foundation, Netherlands