Skip to content

A rule-based python package to convert romanized/franco arabic into Arabic.

License

Notifications You must be signed in to change notification settings

AMR-KELEG/Franco-Arabic-Transliterator

Repository files navigation

https://github.com/AMR-KELEG/Franco-Arabic-Transliterator/actions?query=workflow%3ABuild Huggingface Space

Franco Arabic Transliterator

A rule-based python script to convert romanised/franco arabic into Arabic.

Installation

pip install franco_arabic_transliterator

Usage

from franco_arabic_transliterator.franco_arabic_transliterator import *

str = '2zayak ya 7abeby'
transliterator = FrancoArabicTransliterator()

# Pick up one of the disambiguation methods
print(transliterator.transliterate(str, method="lexicon")) # ازيك يا حبيبي
print(transliterator.transliterate(str, method="language-model")) # ازيك يا حبيبي

About

A rule-based python package to convert romanized/franco arabic into Arabic.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published