Revision: 9112
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9112&view=rev
Author:   pbianchini
Date:     2013-01-19 20:36:04 +0000 (Sat, 19 Jan 2013)
Log Message:
-----------
PB012    Added exception for article of the word dei

Modified Paths:
--------------
    trunk/JLanguageTool/src/main/resources/org/languagetool/rules/it/grammar.xml

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/it/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/it/grammar.xml    
    2013-01-19 18:52:16 UTC (rev 9111)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/it/grammar.xml    
    2013-01-19 20:36:04 UTC (rev 9112)
@@ -113,6 +113,7 @@
  PB009    Created uso corretto under verbs and added adire vie legali
  PB010    Reworked repetition rule ST_03_002
  PB011    Reworked rule GR_04_002 exteneded to all words ending with 
à|è|é|ì|ò|ù
+ PB012    Added exception for article of the word dei
  ======== 
===========================================================================
 -->
 
@@ -211,7 +212,11 @@
             <rule>
                 <pattern>
                     <token regexp="yes">lo|la|il|gli|le</token>
-                    <token postag="NOUN-M.p" postag_regexp="yes" 
regexp="yes">[bcdfghlmnpqrstv][aeiou].*|[bcdfglmnqrtv][bcdfglmnpqrtv].*<exception
 postag="(NOUN-M.s)|(NOUN-F.p)" postag_regexp="yes"></exception></token>
+                    <token postag="NOUN-M.p" postag_regexp="yes" 
regexp="yes">[bcdfghlmnpqrstv][aeiou].*|[bcdfglmnqrtv][bcdfglmnpqrtv].*<exception
 postag="(NOUN-M.s)|(NOUN-F.p)" postag_regexp="yes"></exception>
+<!-- PB0012 + -->
+                       <exception>dei</exception>
+<!-- PB0012 - -->                        
+                    </token>
                 </pattern>
                 <message>L'articolo non concorda: <suggestion>i <match 
no="2"></match></suggestion>.</message>
                 <example type="incorrect">Hai fatto <marker>le 
compiti</marker>?</example>
@@ -262,7 +267,19 @@
                 <example type="incorrect">Devi andare da <marker>un 
psicologo</marker>.</example>
                 <example type="correct">Devi andare da <marker>uno 
psicologo</marker>.</example>
             </rule>
-        </rulegroup>
+<!-- PB012 + -->            
+            <!-- gli dei-->
+            <rule>
+                <pattern>
+                    <token regexp="yes">i|la|il|lo|le</token>
+                    <token>dei</token>
+                </pattern>
+                <message>L'articolo non concorda: <suggestion>gli <match 
no="2"></match></suggestion>.</message>
+                <example type="incorrect">Adoravano <marker>i dei</marker> del 
suono.</example>
+                <example type="correct">Adoravano <marker>gli dei</marker> del 
suono.</example>
+            </rule>
+<!-- PB012 - -->
+               </rulegroup>
     </category>
 
     <!-- GRAMMATICA CONCORDANZA - GR_03 -->

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. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to