Skip to content

Commit

Permalink
Update the README.md
Browse files Browse the repository at this point in the history
Fix #11
  • Loading branch information
AMR-KELEG committed Jan 9, 2022
1 parent 574fc95 commit 76c1648
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ from franco_arabic_transliterator.franco_arabic_transliterator import *
str = '2zayak ya 7abeby'
transliterator = FrancoArabicTransliterator()
print(transliterator.transliterate(str)) # ازيك يا حبيبي
# Pick up one of the disambiguation methods
print(transliterator.transliterate(str, method="lexicon")) # ازيك يا حبيبي
print(transliterator.transliterate(str, method="language-model")) # ازيك يا حبيبي
```
## Live demo
Expand Down

0 comments on commit 76c1648

Please sign in to comment.