Skip to content

Commit

Permalink
(no) concordança després de preposició
Browse files Browse the repository at this point in the history
  • Loading branch information
hectoralos committed Aug 21, 2019
1 parent 7d5b9e5 commit a50656a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 4 deletions.
22 changes: 22 additions & 0 deletions apertium-por-cat.cat-por.t1x
Original file line number Diff line number Diff line change
Expand Up @@ -6404,6 +6404,28 @@
</action>
</rule>

<rule comment="REGLA: PREP">
<pattern>
<pattern-item n="prep"/>
</pattern>
<action>
<!-- després de preposició no hi ha concordança, altrament "academia de suboficiais > acadèmia de sotsoficiales -->
<let>
<var n="numero"/>
<lit-tag v="sg"/>
</let>
<let>
<var n="genero"/>
<lit-tag v="m"/>
</let>
<out>
<lu>
<clip pos="1" side="tl" part="whole"/>
</lu>
</out>
</action>
</rule>

<!-- REGLES DE CONCORDÀNCIA -->

<rule> <!-- REGLA 6: NUMERAL-->
Expand Down
31 changes: 27 additions & 4 deletions apertium-por-cat.por-cat.t1x
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
<cat-item tags="vblex.pp.*"/>
</def-cat>

<def-cat n="adv">
<cat-item tags="adv"/>
<def-cat n="adv">
<cat-item tags="adv"/>
<cat-item tags="preadv"/>
</def-cat>

Expand All @@ -60,8 +60,8 @@
<cat-item lemma="menos" tags="adv"/>
</def-cat>

<def-cat n="prep">
<cat-item tags="pr"/>
<def-cat n="prep">
<cat-item tags="pr"/>
</def-cat>

<def-cat n="cujo">
Expand Down Expand Up @@ -3870,6 +3870,28 @@
</action>
</rule>

<rule comment="REGLA: PREP">
<pattern>
<pattern-item n="prep"/>
</pattern>
<action>
<!-- després de preposició no hi ha concordança, altrament "academia de suboficiais > acadèmia de sotsoficiales -->
<let>
<var n="numero"/>
<lit-tag v="sg"/>
</let>
<let>
<var n="genero"/>
<lit-tag v="m"/>
</let>
<out>
<lu>
<clip pos="1" side="tl" part="whole"/>
</lu>
</out>
</action>
</rule>

<rule comment="cem e um > cent un">
<pattern>
<pattern-item n="cents"/>
Expand Down Expand Up @@ -6182,6 +6204,7 @@
</out>
</action>
</rule>

<!-- REGLES DE VERBS (posici�dels cl�ics, canvis de temps, multiparaules, etc)-->
<!-- == gostar I == -->

Expand Down

0 comments on commit a50656a

Please sign in to comment.