Last updated:
0 purchases
arabic2latin 1.1.4
arabic2latin
Convert Arabic characters to their Latin (English) homophone.
Installation
Install from PyPI:
pip install arabic2latin
Alternatively, install from source:
pip install git+https://github.com/rexa222/arabic2latin
Usage/Examples
from arabic2latin import arabic_to_latin
arabic_text = "السَّلَامُ عَلَيْكَ"
converted_text = arabic_to_latin(arabic_text)
print(converted_text)
Output:
alsaalaamo aalayka
Debug Mode
If you came across a character that was not converted, you can find it using debug feature and report it as guided in the contributing section.
converted_text = arabic_to_latin(arabic_text, debug=True)
Output:
unknown character: ?
Contributing
If you find a bug 🐛, please open a bug report. If you have an idea for an improvement or new feature 🚀, please open a feature request.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.