sohaibafifi/languagetool

New Rule Replace an inflected one word

Closed this issue · 1 comments

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