Skip to content

Commit

Permalink
[es] PRIMERO_PRIMER
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Aug 21, 2024
1 parent 4efd551 commit 3051f05
Showing 1 changed file with 39 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19804,30 +19804,58 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
</rule>-->
</category>
<category id="AGREEMENT_NOUNS" name="Concordancia en grupos nominales" type="inconsistency">
<rulegroup id="PRIMER_PRIMERA" name="la primer vez -> la primera vez" default="temp_off">
<rulegroup id="PRIMERO_PRIMER" name="primero ministro -> primer ministro" default="temp_off">
<rule>
<pattern>
<token postag="D..FS." postag_regexp="yes"/>
<marker>
<token postag="AO0MS0" regexp="yes">.*(primer|tercer)</token>
</marker>
<token postag="N.[FC][SN].*|AQ.[FC][SN].|V.P..SF" postag_regexp="yes"/>
</pattern>
<message>Error de concordancia</message>
<suggestion>\2a</suggestion>
<example correction="primera">La <marker>primer</marker> vez que vino.</example>
<pattern>
<marker>
<token postag="AO0MS0" regexp="yes">.*(primero|tercero)</token>
</marker>
<token postag="NC[MC][SN].*|AQ.[MC][SN].|V.P..SM" postag_regexp="yes"/>
</pattern>
<message>La forma adecuada de este adjetivo delante de un sustantivo es <suggestion><match no="1" regexp_match="o$" regexp_replace=""/></suggestion>.</message>
<suggestion>\2a</suggestion>
<example correction="primer">El <marker>primero</marker> ministro de Japón.</example>
</rule>
</rulegroup>
<rulegroup id="PRIMER_PRIMERA" name="la primer vez -> la primera vez" default="temp_off">
<rule>
<pattern>
<token postag="D..FS." postag_regexp="yes"/>
<marker>
<token postag="AO0MS0" regexp="yes">.*(primer|tercer)</token>
</marker>
<token postag="N.[FC][SN].*|AQ.[FC][SN].|V.P..SF" postag_regexp="yes"/>
</pattern>
<message>Error de concordancia</message>
<suggestion>\2a</suggestion>
<example correction="primera">La <marker>primer</marker> vez que vino.</example>
</rule>
<rule>
<pattern>
<marker>
<token postag="AO0MS0" regexp="yes">.*(primer|tercer)</token>
</marker>
<token postag="N.[FC][SN].*|AQ.[FC][SN].|V.P..SF" postag_regexp="yes"/>
</pattern>
<message>Error de concordancia</message>
<suggestion>\1a</suggestion>
<example correction="Primera"><marker>Primer</marker> vez que lo veo.</example>
</rule>
<rule>
<antipattern>
<token postag="AO0MS0" regexp="yes">.*(primer|tercer)</token>
<token postag="N.[MC][SN].*|AQ.[MC][SN].|V.P..SM" postag_regexp="yes"/>
</antipattern>
<pattern>
<token postag="D..FS." postag_regexp="yes"/>
<marker>
<token postag="AO0MS0" regexp="yes">.*(primer|tercer)</token>
</marker>
</pattern>
<message>Error de concordancia</message>
<suggestion>\2a</suggestion>
<example correction="primera">La <marker>primer</marker> que veo.</example>
</rule>
</rulegroup>
<rulegroup id="CONCORDANCIA_ADJECTIVOS_NEUTROS" name="concordancias con adjetivos neutros">
<antipattern>
Expand Down

0 comments on commit 3051f05

Please sign in to comment.