Revision: 8985
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8985&view=rev
Author:   jaumeortola
Date:     2013-01-13 10:23:03 +0000 (Sun, 13 Jan 2013)
Log Message:
-----------
[ca] Rule corrected: ESPAIS_SOBRANTS, new attempt.

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-13 10:16:27 UTC (rev 8984)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2013-01-13 10:23:03 UTC (rev 8985)
@@ -8959,8 +8959,7 @@
                 </pattern>
                 <message>Sobra un espai: <suggestion><match no="1" /><match 
no="2" /><match no="3" /></suggestion>.</message>
                 <short>Sobra un espai</short>
-                <example type="incorrect"><marker>L' home</marker>.</example>
-                <example type="correct"><marker>L'home</marker>.</example>
+                <example type="incorrect" correction="l'home">A <marker>l' 
home</marker>.</example>
                 <example type="correct">que faria campanya pel 'no' a la 
independència.</example>
             </rule>
             <rule>
@@ -8971,14 +8970,41 @@
                 </pattern>
                 <message>Sobra un espai: <suggestion><match no="1" /><match 
no="2" /><match no="3" /></suggestion>.</message>
                 <short>Sobra un espai</short>
-                <example type="incorrect"><marker>L 'home</marker>.</example>
-                <example type="correct"><marker>L'home</marker>.</example>
+                <example type="incorrect" correction="l'home">A <marker>l 
'home</marker>.</example>
                 <example type="correct">que faria campanya pel 'no' a la 
independència.</example>
             </rule>
             <rule>
                 <pattern>
+                    <token postag="SENT_START"/>
                     <marker>
+                        <token regexp="yes">[ldmnst]</token>
+                        <token>'</token>
+                        <token spacebefore="yes"></token>
+                    </marker>
+                </pattern>
+                <message>Sobra un espai: <suggestion><match no="2" /><match 
no="3" /><match no="4" /></suggestion>.</message>
+                <short>Sobra un espai</short>
+                <example type="incorrect" correction="L'home"><marker>L' 
home</marker>.</example>
+                <example type="correct">Del 'no' a la independència.</example>
+            </rule>
+            <rule>
+                <pattern>
+                    <token postag="SENT_START"/>
+                    <marker>
+                        <token regexp="yes">[ldmnst]</token>
+                        <token spacebefore="yes">'</token>
                         <token></token>
+                    </marker>
+                </pattern>
+                <message>Sobra un espai: <suggestion><match no="2" /><match 
no="3" /><match no="4" /></suggestion>.</message>
+                <short>Sobra un espai</short>
+                <example type="incorrect" correction="L'home"><marker>L 
'home</marker>.</example>
+                <example type="correct">El 'no' a la independència.</example>
+            </rule>
+            <rule>
+                <pattern>
+                    <marker>
+                        <token></token>
                         <token spacebefore="yes">'</token>
                         <token regexp="yes">([lmnst]|ns)</token>
                     </marker>

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_123012
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to