AMR-KELEG / Franco-Arabic-Transliterator

A rule-based python package to convert romanized/franco arabic into Arabic.
GNU General Public License v3.0
24 stars 3 forks source link

Adding method type. #11

Closed abdelrahmaan closed 2 years ago

abdelrahmaan commented 2 years ago

Give me an error when running this lines of code

from franco_arabic_transliterator.franco_arabic_transliterator import *

str = '2zayak ya 7abeby'
transliterator = FrancoArabicTransliterator()
print(transliterator.transliterate(str)) # ازيك يا حبيبي

when seeing the documentation found that we should pass either method= "lexicon" or "language-model" in the FrancoArabicTransliterator method.

github-actions[bot] commented 2 years ago

Thanks for posting your issue. I will look through it shortly!