Revision: 8535
http://languagetool.svn.sourceforge.net/languagetool/?rev=8535&view=rev
Author: jaumeortola
Date: 2012-12-11 22:52:18 +0000 (Tue, 11 Dec 2012)
Log Message:
-----------
[ca]
- Improved rule: TE
- new rule: EXIGEIX_US
- tagger dictionary: added pronom feble 'vos' (variant of 'us')
Modified Paths:
--------------
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan.dict
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan.dict
===================================================================
(Binary files differ)
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
===================================================================
(Binary files differ)
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2012-12-11 20:19:24 UTC (rev 8534)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2012-12-11 22:52:18 UTC (rev 8535)
@@ -6899,6 +6899,18 @@
<example type="incorrect">El pare el <marker>te</marker> per
ximple.</example>
<example type="correct">El té com un rei</example>
</rule>
+ <rule>
+ <pattern>
+ <token>amb</token>
+ <token>un</token>
+ <marker>
+ <token>té</token>
+ </marker>
+ </pattern>
+ <message>Si és una beguda, cal escriure
<suggestion>te</suggestion>.</message>
+ <example type="incorrect">amb un <marker>té</marker></example>
+ <example type="correct">amb un te</example>
+ </rule>
</rulegroup>
<rulegroup id="ES" name="es/és">
<rule>
@@ -8020,6 +8032,7 @@
<short>Pronom feble o verb incorrecte</short>
<example type="incorrect"><marker>Us</marker> vas fer
mal.</example>
<example type="correct">Us vau fer mal</example>
+ <example type="correct">Si vos pareix bé, ho farem.</example>
</rule>
<rule id="ES_VAM" name="es vam">
<pattern>
@@ -8037,6 +8050,30 @@
<example type="correct">es pot fer correctament</example>
</rule>
</rulegroup>
+ <rulegroup id="EXIGEIX_US" name="Exigeix la forma 'us'. Ex. Què vos/us
sembla?">
+ <rule>
+ <pattern>
+ <marker>
+ <token>vos</token>
+ </marker>
+ <token><exception postag="V...2P." postag_regexp="yes"
/></token>
+ </pattern>
+ <message>És preferible la forma
<suggestion>us</suggestion>.</message>
+ <example type="incorrect"><marker>vos</marker> sembla
bé</example>
+ <example type="correct">vós sou l'únic sant</example>
+ </rule>
+ <rule>
+ <pattern>
+ <marker>
+ <token>vos</token>
+ </marker>
+ <token postag="V...2P." postag_regexp="yes"/>
+ </pattern>
+ <message>Com a pronom feble, és preferible la forma
<suggestion>us</suggestion>. Si és pronom personal, cal escriure
<suggestion>vós</suggestion>.</message>
+ <example type="incorrect"><marker>vos</marker> assembleu
molt</example>
+ <example type="correct">vós sembleu un sant</example>
+ </rule>
+ </rulegroup>
</category>
<category name="«lo» neutre">
<!-- es podria fer una llista molt més completa de solucions-->
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits