Revision: 8830
http://languagetool.svn.sourceforge.net/languagetool/?rev=8830&view=rev
Author: jaumeortola
Date: 2013-01-03 21:40:40 +0000 (Thu, 03 Jan 2013)
Log Message:
-----------
[ca] New rule: apujada/pujada.
Modified Paths:
--------------
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-01-03 21:23:47 UTC (rev 8829)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-01-03 21:40:40 UTC (rev 8830)
@@ -9482,14 +9482,38 @@
</rule>
<rule>
<pattern>
- <token>una</token>
- <token>abaixada</token>
+ <token postag="D[^R].FS.*" postag_regexp="yes"/>
+ <marker>
+ <token>abaixada</token>
+ </marker>
</pattern>
- <message>¿Volíeu dir <suggestion>una
baixada</suggestion>?</message>
- <example type="incorrect"><marker>una abaixada</marker> de
preus</example>
+ <message>¿Volíeu dir
<suggestion>baixada</suggestion>?</message>
+ <example type="incorrect">una <marker>abaixada</marker> de
preus</example>
<example type="correct">una baixada de preus</example>
</rule>
</rulegroup>
+ <rulegroup id="LAPUJADA_LA_PUJADA" name="*l'apujada/ la pujada">
+ <rule>
+ <pattern>
+ <token>l'</token>
+ <token>apujada</token>
+ </pattern>
+ <message>¿Volíeu dir <suggestion>la pujada</suggestion>,
<suggestion>la puja</suggestion>?</message>
+ <example type="incorrect"><marker>l'apujada</marker>
d'impostos</example>
+ <example type="correct">la pujada d'impostos</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token postag="D[^R].FS.*" postag_regexp="yes"/>
+ <marker>
+ <token>apujada</token>
+ </marker>
+ </pattern>
+ <message>¿Volíeu dir <suggestion>pujada</suggestion>,
<suggestion>puja</suggestion>?</message>
+ <example type="incorrect">una <marker>apujada</marker> de
temperatures</example>
+ <example type="correct">una pujada de temperatures</example>
+ </rule>
+ </rulegroup>
<rule id="AJUST_DE_COMPTES" name="*ajust de comptes">
<pattern>
<token regexp="yes">ajust|ajustament</token>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits