Revision: 8732
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8732&view=rev
Author:   pbianchini
Date:     2012-12-30 21:22:08 +0000 (Sun, 30 Dec 2012)
Log Message:
-----------
PB008    Added rule to check that after affinch?\195?\169 accioch?\195?\169 you 
use a congiuntivo

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    
    2012-12-30 20:32:17 UTC (rev 8731)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/it/grammar.xml    
    2012-12-30 21:22:08 UTC (rev 8732)
@@ -25,8 +25,8 @@
  
================================================================================
  Italian Grammar and Style Rules for Italian
  Paolo Bianchini
- Date: 28/12/2012
- Ver:  0.9.3
+ Date: 30/12/2012
+ Ver:  0.9.4
  
================================================================================
  Categorie delle regole
     gruppi delle regole
@@ -98,7 +98,7 @@
 <!--
  
================================================================================
  Fixes
- ======== 
=========================================================================
+ ======== 
==========================================================================
  PB001    Removed prepositions and two letter words in repetition check
  PB002    Added some preposition usage checks (moved a gratis rule)
  2957133  name/article concordance (un vs uno)
@@ -107,7 +107,8 @@
  PB005    Fixed rule for dà to exclude "se da" pattern voted as useless
  PB006    Fixed rule for false positives in past tense concordance GR_10_001
  PB007    Added check for person in tense concordance GR_10_* overrides PB006
- ======== 
=========================================================================
+ PB008    Added rule to check that after "affinché accioché" you use a 
"congiuntivo"
+ ======== 
==========================================================================
 -->
 
 <rules lang="it" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="../rules.xsd">
@@ -855,6 +856,23 @@
                 <example type="incorrect">Luigi mi <marker>da</marker> la 
mano.</example>
                 <example type="correct">Luigi mi dà la mano.</example>
             </rule>
+<!-- PB008 + -->
+            <!-- affinché accioché + congiuntivo -->
+            <rule>
+                <pattern>
+                    <token skip="2" regexp="yes">affinché|acciocché</token>
+                    <marker>
+                       <token postag="VER.*" postag_regexp="yes">
+                           <exception postag="VER.sub.*" 
postag_regexp="yes"></exception>
+                           <exception scope="previous" postag="VER.sub.*" 
postag_regexp="yes"></exception>
+                               </token>
+                    </marker>
+                </pattern>
+                <message>Affinché e acciocché reggono il congiuntivo.</message>
+                <example type="incorrect">Ti avviso affinché tu 
<marker>puoi</marker> rimediare.</example>
+                <example type="correct">Ti avviso affinché tu 
<marker>possa</marker> rimediare.</example>
+            </rule>
+<!-- PB008 - -->
         </rulegroup>
     </category>
 

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