Closed linuxscout closed 4 years ago
We can also use files likes
can be used for words with other spelling, we can use it for words like:
شؤون;شئون الذي;الذى
تركية;تركيا " in Egypt locale they use Alef maqsura instead of Yeh at the word end.diacritics.txt
Can be used for words which must be disambiguated or have a preferred pronunciation like: تجرُبة => تجرِبة Tajruba => Tajriba** حراك => حَراك Hirak => Harak
Used for avoid redundency like
سوف لن => لن
A rule that matches words which are complex and suggests easier to understand alternatives.
'$match' is a wordy or complex expression. In some cases, it might be preferable to use $suggestions"; I suggest this for expressions like: وأخيرا وليس آخرا => وأخيرا لأول وهلة=> أول على الرغم من => مع أنّ
we can use it to speed up rules writing, we can use Fareh and convert it into this files for representing some cases, or just test it before implement it on XML
I will prepare some examples of those files.