Skip to content

Commit

Permalink
[ca] fix loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Jan 12, 2025
1 parent 3aa2fa4 commit 6bdd2b1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Catalan multiwords file used for chunking
#separatorRegExp=[\t;]
Alto de las Barracas;NPMSG00
Bernat Dedéu;NPMSSP0
Mohammed bin Salman;NPMSSP0
coop.;NCFN00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49873,6 +49873,26 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<token postag="&pronom_feble;" postag_regexp="yes"/>
<token regexp="yes">diferenci(a|es)</token>
</antipattern>
<rule default="temp_off">
<pattern>
<token regexp="yes">un|algun</token>
<token regexp="yes">altre|altra</token>
<token>diferència</token>
</pattern>
<message>"Diferència" és un nom femení.</message>
<suggestion>\1a altra diferència</suggestion>
<example correction="Una altra diferència"><marker>Un altre diferència</marker> substancial és la qualitat dels comentaris.</example>
</rule>
<rule default="temp_off">
<pattern>
<token regexp="yes">un|algun</token>
<token regexp="yes">altre|altra</token>
<token>diferencia</token>
</pattern>
<message>Si és nom, "diferència" s'escriu amb accent i és femení.</message>
<suggestion>\1a altra diferència</suggestion>
<example correction="Una altra diferència"><marker>Un altre diferencia</marker> substancial és la qualitat dels comentaris.</example>
</rule>
<rule>
<antipattern>
<token>si</token>
Expand Down Expand Up @@ -50360,6 +50380,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<token postag_regexp="yes" postag="SPS00|LOC_PREP|PX.FS.*"/>
<token>diferència</token>
</antipattern>
<antipattern>
<token regexp="yes">un|algun</token>
<token>altre</token>
<token>diferència</token>
</antipattern>
<pattern>
<!-- Caldria identificar bé un subjecte -->
<token postag="SENT_START|CC|LOC_CONJ|CS" postag_regexp="yes"/>
Expand Down

0 comments on commit 6bdd2b1

Please sign in to comment.