Translate Amharic that written in english to Amharic characters
Project description
Fidel / ፊደል
What is Fidel / ፊደል ?
Fidel is a tool that can change Amharic language that written in English alphabet translater to pure Amharic alphabet characters
- It will be Used for social medias specially on telegram
Dependencies
Installation
pip install fidel
Usage
Without Autocorrect
It takes < 1sec and If rules are applied it is more effective than autocorrect mode
from fidel import translate
text = "mukera"
trans_word = translate(text)
+Autocorrect
Delay upto 10 sec
from fidel import auto_correct_trans,translate
text = "mukera"
trans_word = translate(text)
corrected_word = auto_correct_trans(trans_word)
Rules
There are some rules that should applied when writing text to be translate
- For 1st alphabets (ለግዕዝ ) use "e" example: "le" - ለ
- For 2nd alphabets ( ለካእብ ) use "u" example: "lu" - ሉ
- For 3rd alphabets (ለሳልስ ) use "i" example: "li" - ሊ
- For 4rh alphabets (ለራዕብ ) use "a" example: "la" - ላ
- For 5th alphabets (ለሀምስ ) use "ie" example: "lie" - ሌ
- For 6th alphabets (ለሳድስ) use only vowel example: "l" - ል
- For 7th alphabets (ለሳብዕ) use "o" example: "lo" - ሎ
- For 8th alphabets(ለዲቃላ ቃላት) use "ua" example: "ua" - ሏ
- The above rules not works for "አ" and "ሀ" family in "አ" and "ሀ" 4th alphabets are removed because it have the same sound as 1th alphabet
- for "አ" and "ሀ" 1st alphabets uses " a "
More About Corrector
In amharic threre are too many words and I try to scrap some words from this web there are around 1 million words but as translator its not affortable it have long time delay symspellpy load 5000 words per second which means it delay 200 sec for 1M word so I scrap 20 pages to decrease the delay if you want increase accuracy word_list.txt is changable you can get word list from this web
Donate and feedback :)
contact : telegram
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.