Closed linuxscout closed 4 years ago
I succeed to resolve this issue by creating the first disambiguation rule.
<rule name="Jar" id="Keep_Only_Nouns_after_Jar">
<!-- work with Prepositions which must precede nouns only -->
<pattern>
<token>في</token>
<marker>
<token/>
</marker>
</pattern>
<disambig><match no="2" postag="N.*" postag_regexp="yes" /></disambig>
<example type="ambiguous" inputform="عامل[عامل/NA-;M1--;---,عامل/NA-;M1A-;---,عامل/NA-;M1I-;---,عامل/NA-;M1U-;---,عَامَلَ/VW1;M1A-iaH;---,عَامَلَ/VW1;M1A-ipY;---]" outputform="عامل[عامل/NA-;M1--;---,عامل/NA-;M1A-;---,عامل/NA-;M1I-;---,عامل/NA-;M1U-;---]">
رأيت التفاني في <marker>عامل</marker> النظافة.</example>
</rule>