sohaibafifi / languagetool

A fork of languagetool to maintain Arabic
https://languagetool.org
GNU Lesser General Public License v2.1
18 stars 1 forks source link

Suggestion with the same Tag #34

Closed linuxscout closed 4 years ago

linuxscout commented 4 years ago

السلام عليكم طرحت السؤال التالي في منتدى أداة اللغة https://forum.languagetool.org/t/ar-generate-multiple-suggestions/5616/4 فحصلت على بعض الاقتراحات وعملت على تعريب المثال إلى

<rule id="ELUDED_TO" name="eluded to (alluded to)">
    <pattern>
       <token inflected="yes">بلاد</token>
       <token>من</token>
    </pattern>
    <message>Did you mean <suggestion><match no="1" postag="N.*">بلد</match> من</suggestion>?</message>
    <example correction="بلد من">He <marker>بلاد من</marker> engagement at the party.</example>
    <example correction="البلد من">He <marker>البلاد من</marker> engagement at the party.</example>
</rule>

جربته فحصلت على الخطأ الموالي

 Incorrect suggestions: بلد من != (بلد) من on input: He بلاد من engagement at the party.)
 Incorrect suggestions: البلد من != (بلد) من on input: He البلاد من engagement at the part

أرجو أن تجرّب ربما وحدة القاموس لا تعمل جيدا

linuxscout commented 4 years ago

Solved