Closed linuxscout closed 2 years ago
The simple replace rule doesn't allow to inflect word, than we should add more entries
for example: to replace the word "أبحاث" by بحوث، we should add all variants of replaced word( الأبحاث، أبحاثهم، بالأبحاث, etc..,
Target: develop a new replacement rule, which allow inflection
Implemented:
file: org/languagetool/rules/ar/ArabicInflectedOneWordReplaceRule.java resource text file : org/languagetool/rules/ar/inflected_one_word.txt
The simple replace rule doesn't allow to inflect word, than we should add more entries
for example: to replace the word "أبحاث" by بحوث، we should add all variants of replaced word( الأبحاث، أبحاثهم، بالأبحاث, etc..,
Target: develop a new replacement rule, which allow inflection