Revision: 7438
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7438&view=rev
Author:   jaumeortola
Date:     2012-06-20 21:50:32 +0000 (Wed, 20 Jun 2012)
Log Message:
-----------
[ca] Fix some false alarms in PRONOMS_FEBLES. Allow Saxon genitive. 

Modified Paths:
--------------
    trunk/JLanguageTool/src/resource/ca/disambiguation.xml
    trunk/JLanguageTool/src/rules/ca/grammar.xml

Modified: trunk/JLanguageTool/src/resource/ca/disambiguation.xml
===================================================================
--- trunk/JLanguageTool/src/resource/ca/disambiguation.xml      2012-06-20 
21:45:27 UTC (rev 7437)
+++ trunk/JLanguageTool/src/resource/ca/disambiguation.xml      2012-06-20 
21:50:32 UTC (rev 7438)
@@ -4722,4 +4722,13 @@
             <disambig action="add"><wd pos="allow_repetition"></wd></disambig>
         </rule>
     </rulegroup>
+    <rule id="genitiu_saxo" name="permet el genitiu saxó">
+        <pattern>
+            <token regexp="yes">\p{Lu}\p{Ll}+</token>
+            <marker>
+                <token spacebefore="no">'s</token>
+            </marker>        
+        </pattern>
+        <disambig action="add"><wd pos="allow_saxon_genitive"></wd></disambig>
+    </rule>
 </rules>
\ No newline at end of file

Modified: trunk/JLanguageTool/src/rules/ca/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-06-20 21:45:27 UTC 
(rev 7437)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-06-20 21:50:32 UTC 
(rev 7438)
@@ -3557,7 +3557,7 @@
                 <pattern>
                     <token postag="P0.*|PP.*|V.[MNG].*" postag_regexp="yes" 
negate_pos="yes"><exception postag="V.[MNG].*" 
postag_regexp="yes"></exception></token>
                     <marker>
-                        <token postag="P0.*|PP.*" 
postag_regexp="yes"><exception 
regexp="yes">jo|tu|ella?|nosaltres|vosaltres|elle?s|vost[èé]s?|vós</exception></token>
+                        <token postag="P0.*|PP.*" 
postag_regexp="yes"><exception 
regexp="yes">jo|tu|ella?|nosaltres|vosaltres|elle?s|vost[èé]s?|vós</exception><exception
 postag="allow_saxon_genitive">'s</exception></token>
                     </marker>
                     <token postag="P0.*|PP.*|V.[^NGP].*" postag_regexp="yes" 
negate_pos="yes"><exception postag="P0.*|PP.*|V.[^NGP].*" 
postag_regexp="yes"></exception></token>
                 </pattern>
@@ -3565,6 +3565,7 @@
                 <short>Pronom feble solt.</short>
                 <example type="incorrect">Aquí <marker>et</marker> no pots 
quedar.</example>
                 <example type="correct">Aquí no et pots quedar.</example>
+                <example type="correct">Les famoses Christie's i Sotheby's 
britàniques</example>
             </rule>
             <rule>
                 <pattern>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to