Revision: 9921
http://languagetool.svn.sourceforge.net/languagetool/?rev=9921&view=rev
Author: jaumeortola
Date: 2013-04-14 09:38:02 +0000 (Sun, 14 Apr 2013)
Log Message:
-----------
[ca] Improved rule ADV_MENT
Modified Paths:
--------------
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
Modified:
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
---
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-04-14 06:58:20 UTC (rev 9920)
+++
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-04-14 09:38:02 UTC (rev 9921)
@@ -3267,12 +3267,30 @@
<token regexp="yes">i|o|ni</token>
<token postag="RG"
regexp="yes">.+ment<exception>malament</exception></token>
</pattern>
- <message>¿Potser volíeu dir <suggestion><match
no="2"></match>ment</suggestion>?</message>
+ <message>Quan hi ha més d'un adverbi no s'ha de suprimir el
sufix -ment.</message>
+ <suggestion><match no="2"></match>ment</suggestion>
+ <url>http://esadir.cat/sintaxi/advermanera/view</url>
<short>Possible error</short>
<example type="incorrect"
correction="clarament"><marker>clara</marker> i evidentment</example>
<example type="correct">Un problema inextricable i evidentment
irresoluble</example>
<!-- <example type="correct">un embolic de cordes inextricable
i extremament difícil d’aclarir</example> -->
</rule>
+ <rule>
+ <pattern>
+ <token>tant</token>
+ <marker>
+ <token postag="A..[CF]S.|V.P..SF.?"
postag_regexp="yes"/>
+ </marker>
+ <token>com</token>
+ <token postag="RG"
regexp="yes">.+ment<exception>malament</exception></token>
+ </pattern>
+ <message>Quan hi ha més d'un adverbi no s'ha de suprimir el
sufix -ment.</message>
+ <suggestion><match no="2"></match>ment</suggestion>
+ <url>http://esadir.cat/sintaxi/advermanera/view</url>
+ <short>Possible error</short>
+ <example type="incorrect" correction="culturalment">tant
<marker>cultural</marker> com econòmicament.</example>
+ <example type="correct">Tant culturalment com
econòmicament</example>
+ </rule>
</rulegroup>
<rule id="SI_QUE" name="*sí m'agrada/sí que m'agrada">
<pattern>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits