Skip to content

Commit

Permalink
[ca] improve NHI_HA_QUE
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed May 3, 2024
1 parent e151703 commit 0112159
Showing 1 changed file with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72590,6 +72590,30 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<example correction="n'hi ha">No <marker>hi ha</marker> molts que pensin això.</example>
<example correction="n'hi ha">No <marker>hi ha</marker> gaires.</example>
</rule>
<rule default="temp_off">
<antipattern>
<token>n'</token>
<token>hi</token>
</antipattern>
<antipattern>
<token/>
<token>,</token>
<token>i</token>
<token postag="A.*" postag_regexp="yes"/>
<example>Malgrat que hi ha moltes, i misterioses, incertituds sobre aquest comte de Luxemburg</example>
</antipattern>
<pattern>
<marker>
<token>hi</token>
<token postag="VA..3S.." postag_regexp="yes" inflected="yes">haver</token>
</marker>
<token regexp="yes" min="1" max="2">molts|moltes|gaires|pocs|poques|alguns|algunes|uns|unes|quants|quantes|moltíssime?s|poquíssime?s</token>
<token regexp="yes">[\!\?io]</token>
</pattern>
<message>Hi falta el pronom 'en'.</message>
<suggestion>n'hi ha</suggestion>
<example correction="n'hi ha">Perquè <marker>hi ha</marker> pocs i, així i tot, encara no funciona.</example>
</rule>
</rulegroup>
<rule id="PERNOCTA" name="pernocta -> pernoctació">
<pattern>
Expand Down Expand Up @@ -111129,10 +111153,11 @@ No t'ho explicaré, no cal que em burxis més-->
<token>de</token>
<token postag_regexp="yes" postag="D.*"/>
<token>que</token>
<token inflected="yes" regexp="yes">tenir|posseir|esperar</token>
<token inflected="yes" regexp="yes">tenir|posseir|esperar|dir</token>
<token regexp="yes">\p{P}</token>
<example>(el 75% de la que tenim)</example>
<example>Trauran millor resultat del que esperen.</example>
<example>Sense modificar cap coma del que dius.</example>
</antipattern>
<antipattern>
<token regexp="yes">el|l</token>
Expand Down

0 comments on commit 0112159

Please sign in to comment.