Revision: 8409
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8409&view=rev
Author:   jaumeortola
Date:     2012-11-16 22:27:43 +0000 (Fri, 16 Nov 2012)
Log Message:
-----------
[ca] New rule: DE_MANERA_ADJ.

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    
    2012-11-16 19:39:05 UTC (rev 8408)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml    
    2012-11-16 22:27:43 UTC (rev 8409)
@@ -1073,6 +1073,23 @@
             </rule>
         </rulegroup>
         <rulegroup id="CONCORDANCES_CASOS_PARTICULARS" name="casos particulars 
de concordances: esquerre/a, altre/a part, pendent, corrent...">
+            <rule id="DE_MANERA_ADJ" name="de manera + adj">
+                <!-- Problem no detected by rule COMPLEX_ADJECTIVE_CONCORDANCE 
in some contexts-->
+                <pattern>
+                    <token>de</token>
+                    <unify negate="yes">
+                    <feature id="nombre"/>
+                    <feature id="genere"/>
+                        <token regexp="yes">manera|forma</token>
+                        <marker>
+                            <token postag="AQ.*|V.P.*" postag_regexp="yes"/>
+                        </marker>
+                    </unify>
+                </pattern>
+                <message>Error de concordança. Cal dir: <suggestion><match 
no="3" postag="AQ.*|V.P.*" postag_regexp="yes" 
postag_replace="AQ0[FC][SN]0|V.P00SF"/></suggestion>.</message>
+                <example type="incorrect" correction="autodidàctica">en català 
de manera <marker>autodidàctic</marker>.</example>
+                <example type="correct">Ho va fer de manera natural.</example>
+            </rule>
             <rule id="ALTRE_CASA" name="altre casa">
                 <pattern>
                     <marker>

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


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to