The Moroccan Latin/Digit Language Framework 3aransia
Project description
3aransia
The Latin/Digit Moroccan Language Framework
Prerequisites
Installation
pip install aaransia
Usage
from aaransia import transliterate_moroccan, transliterate_moroccan_arabic
s_1 = "ktb bl3rbya hnaya"
s_2 = "كتب بلعربيا هنايا"
print(transliterate_moroccan(s_1))
print(transliterate_moroccan_arabic(s_2))
print(transliterate_moroccan_to_latin(s_1))
print(transliterate_moroccan_arabic_to_latin(s_2))
>>> كتب بلعربيا هنايا
>>> ktb bl3rbya hnaya
>>> ktb bl'rbya hnaya
>>> ktb bl'rbya hnaya
Other related projects
- 3aransia.api The api of 3aransia
- 3aransia.web The web application of 3aransia
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aaransia-0.13.tar.gz
(7.3 kB
view hashes)