org.languagetool.resource.ro.disambiguation.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="utf-8"?> <!-- Romanian Disambiguation Rules for LanguageTool Copyright (C) 2009 Ionuț Păduraru --> <rules lang="ro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/resource/disambiguation.xsd"> <rule name="Verb(este/V0s3000izb) + o + verb/subst -> Verb + o + subst" id="VERB_o_SUBST"> <!-- este o masă --> <!--o (verb) bine -> o (verb) foarte bine--> <pattern> <token postag="V0s3000izb" /> <token>o</token> <marker> <and> <token postag="Sfs3anc000" /> <token postag="V0s3000is0" /> </and> </marker> </pattern> <disambig><match no="3" postag="Sfs3anc000" postag_regexp="yes"/></disambig> </rule> <rule name="subst + care + Verb -> subst + care(pronume) + Verb" id="SUBST_CARE_VERB"> <!-- persoana care face --> <pattern> <token postag_regexp="yes" postag="Sms3aac000|Sfp3aac000|Sfs3aac000" /> <marker> <and> <token>care</token> <token postag_regexp="yes" postag="Snp3anc000|V0[sp]3000cz0" /> </and> </marker> <token postag="V0s3000iz0" /> </pattern> <disambig><match no="2" postag="N000a0l000" postag_regexp="yes"/></disambig> </rule> <rule name="vom participa la - verb indicativ imperfect" id="VOM_PARTICIPA_LA"> <pattern> <token postag="V.*ivv" postag_regexp="yes"><exception>voi</exception></token> <!-- mai puțin "voi", este prea general, vezi "pentru voi culege el aceste flori" --> <marker> <token postag="V000000f00"></token> </marker> </pattern> <disambig><match no="2" postag="V000000f00" postag_regexp="yes"/></disambig> </rule> </rules>