英语-印度语语音转换引擎
dhwani的Python项目详细描述
德瓦尼
英语到印度语语音转换引擎。阅读有关项目here的更多信息。在
安装
Dhwani目前不稳定。然而,开发版本是avalibale at PyPI。在
从PyPI安装
$ pip install dhwani
从源安装
^{pr2}$示例
这里显示了从English转换为Kannada的示例。在
# Import the main converter classfromdhwaniimportConverter# Make a converter object. The first argument is the# ISO 639-3 code of the source language, and the second# argument is the ISO 639-3 code of the destination language.converter=Converter('eng','kan')src_string="kannaDa"# Use the 'convert' method of converter object to get the converter# string back.dest_string=converter.convert(src_string)# Print the result# Note that the display for standard output needs to support the unicode# characters.print(dest_string)# output > ಕನ್ನಡ
当前支持的转换
- 英语到卡纳达语
- 德夫纳加里英语
- 英语到泰米尔语
- 项目
标签: