Pronounce Arabic words on the fly
Project description
## Arabic Pronunciation
This project is based on the workings of
* Dr. Nawar Halabi https://github.com/nawarhalabi/Arabic-Phonetiser
* Dr. Motaz Saad https://github.com/motazsaad/ara-pronunciation-tool
* Dr. Taha Zerrouki
## Usage
```python
from arabic_pronunciation import phonetise_Arabic
phonetise_Arabic.phonetise_word("بِمُسْتَطِيل")
>>> ['b i0 m u0 s t A T ii0 l']
phonetise_Arabic.phonetise_word("نُتَابِعُهَا")
>>> ['n u0 t aa b i0 E u0 h aa', 'n u0 t aa b i0 E u0 h a']
```
## Dictionary Production
* Add your corpus to the root of this project
* `python arabic_pronunciation/corpus2cmudict.py -i {corpus_name}.txt -p {corpus_name}`
* It might take long time to for large corpuses and the command line might not show that the process is going on but it is.
*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for arabic_pronunciation-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57476baacd04317cfdbd940101a9d9e41f4b938394d57a36e90dcfb3c1bc09ae |
|
MD5 | 77ec06ec9ad2324e47fa2d0b6b164536 |
|
BLAKE2b-256 | 80e77f94efdc54f7b61f647b97e4f76ab78040fbc63ecd2b4ba382e13e6eee71 |