用于从数字到斯瓦希里语单词转换的python库
tarakimu的Python项目详细描述
塔拉基姆
用于数字到斯瓦希里语单词转换的python库
- 自由软件:BSD许可证
- 文档:https://tarakimu.readthedocs.io。
安装
要安装Tarakimu库,可以使用pip:
$ pip install tarakimu
基本用法
示例
使用python
fromtarakimuimportnum_to_wordsnum_to_words('88')# returns 'themanini na nane'num_to_words(88.88)# returns 'themanini na nane nukta nane nane'num_to_words('-88000000')# returns 'hasi kuadrilioni themanini na nane'
使用命令行界面
$ tarakimu numtowords 88# writes to the standard output 'themanini na nane'
历史记录
0.1.0(2018-05-10)
- 已创建包。
0.2.0(2018-05-15)
- 增加多语种支持,斯瓦希里语和英语。