Logo Lanfrica

Nghom/tunte

Domain:

natural language processing

Record type:

software
Creator:
Ngh
Host:
Simple npm package for number, time and currency localization for Cameroon languages # tunte Install with `npm`: ```sh npm install tunte ``` ## API ### Numbers (converting figures to letters) ```js const { byv } = require('tunte'); byv.figure2words.convert(77); // returns 'ncòbsɑ̀mmbɑhɑ ŋâmsɑ̀mmbɑhɑ' byv.figure2words.convert(10); // returns 'gham' ``` ### Time (converting time to letters) #### Specification: function ngelan (hour : Number, minute : Number = 0, second : Number = 0, millisecond : Number 0) : String function le (day : Number) : String function nwu (month : Number) : String #### Example ```js const { byv } = require('tunte'); let day = byv.getDay(6); // Ntα̂nndʉb let month = byv.getMonth(5); // Nsônὰ ``` ### Currency (converting figures to currencies) #### Specification ```js const { byv } = require('tunte'); byv.ngelan(1); // 'Tàʼ ŋàm' byv.ngelan(1, 5); // 'Tàʼ ŋàm ngʉ̂ mfî nyàm bαhα' ``` ### Language modules Standard: ISO 639-3fmp #### Languages |Language| Code| |---|---| | Medumba | byv | | Nufi | fmp | | Ghomala | bbj | Reference: ethnologue.com ## Contributing If you wish to report a bug, please feel free to open an issue Want to request a feature? Open an issue here If you want faster feedback or wish a custom development, please kindly email me at nyopa@ngadou.me