Revision: 10078
http://sourceforge.net/p/languagetool/code/10078
Author: jaumeortola
Date: 2013-05-13 09:32:38 +0000 (Mon, 13 May 2013)
Log Message:
-----------
[ca] Improve rule DUES_PREPOSICIONS
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-05-13 08:21:48 UTC (rev 10077)
+++
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-05-13 09:32:38 UTC (rev 10078)
@@ -6331,15 +6331,16 @@
<rulegroup id="DUES_PREPOSICIONS" name="Dues preposicions: a amb">
<rule>
<pattern>
- <token postag="SPS00" regexp="yes">(?-i)a</token>
- <token postag="SPS00" regexp="yes">amb|per|en</token>
+ <token postag="SPS00" regexp="yes">(?-i)a|per</token>
+ <token postag="SPS00"
regexp="yes">amb|per|en|des|de|d'</token>
</pattern>
<message>Combinació impossible de preposicions.</message>
<suggestion><match no="2"/></suggestion>
<suggestion><match no="1"/></suggestion>
<short>Element repetit</short>
- <example type="incorrect">Pensava que <marker>a amb</marker>
ell me'n sortiria.</example>
- <example type="incorrect">Anaven <marker>a en</marker>
ell.</example>
+ <example type="incorrect" correction="amb|a">Pensava que
<marker>a amb</marker> ell me'n sortiria.</example>
+ <example type="incorrect" correction="en|a">Anaven <marker>a
en</marker> ell.</example>
+ <!-- <example type="incorrect">hem tingut <marker>per
des</marker> d'equips amb Windows.</example> -->
<example type="correct">Pensava que amb ell sí.</example>
<example type="correct">Li ho van donar a en Pere.</example>
<example type="correct">Per a ell sí.</example>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits