dhwani-0.0.3.dev1
توضیحات
English to Indic language phonetic conversion engine
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dhwani-0.0.3.dev1 |
| نام | dhwani |
| نسخه کتابخانه | 0.0.3.dev1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Yashas ND |
| ایمیل نویسنده | ndyashas@gmail.com |
| آدرس صفحه اصلی | https://github.com/ndyashas/Dhwani |
| آدرس اینترنتی | https://pypi.org/project/dhwani/ |
| مجوز | Apache License, Version 2.0 |
[](https://dhwani.readthedocs.io/en/latest/?badge=latest) [](https://travis-ci.com/ndyashas/Dhwani)
# Dhwani
English to Indic language phonetic conversion engine. Read more about the project [here](https://ndyashas.github.io/projects/Dhwani.html).
## Installation
Dhwani is currently **not** stable. However, the developmental release is [avalibale at PyPI](https://pypi.org/project/dhwani/).
### Installing from PyPI
```
$ pip install dhwani
```
### Installing from sources
```
$ git clone https://github.com/ndyashas/Dhwani.git
$ cd Dhwani
$ pip install -r requirements.txt
$ pip install -e .
```
## Example
An example of converting from *English* to *Kannada* is shown here.
```python
# Import the main converter class
from dhwani import Converter
# 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 > ಕನ್ನಡ
```
## Currently supported conversions
* English to Kannada
* English to Devnagari
* English to Tamil
نیازمندی
| مقدار | نام |
|---|---|
| >=5.3<6 | PyYAML |
نحوه نصب
نصب پکیج whl dhwani-0.0.3.dev1:
pip install dhwani-0.0.3.dev1.whl
نصب پکیج tar.gz dhwani-0.0.3.dev1:
pip install dhwani-0.0.3.dev1.tar.gz