Revision: 8808
http://languagetool.svn.sourceforge.net/languagetool/?rev=8808&view=rev
Author: pbianchini
Date: 2013-01-03 07:48:24 +0000 (Thu, 03 Jan 2013)
Log Message:
-----------
PB010 Reworked repetition rule ST_03_002
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-03 07:17:13 UTC (rev 8807)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/it/grammar.xml
2013-01-03 07:48:24 UTC (rev 8808)
@@ -25,8 +25,8 @@
================================================================================
Italian Grammar and Style Rules for Italian
Paolo Bianchini
- Date: 02/01/2013
- Ver: 0.9.5
+ Date: 03/01/2013
+ Ver: 0.9.6
================================================================================
Categorie delle regole
gruppi delle regole
@@ -111,6 +111,7 @@
PB007 Added check for person in tense concordance GR_10_* overrides PB006
PB008 Added rules to check the use of "congiuntivo"
PB009 Created uso corretto under verbs and added adire vie legali
+ PB010 Reworked repetition rule ST_03_002
========
===========================================================================
-->
@@ -1316,16 +1317,23 @@
<rulegroup name="ripetizioni" id="ST_03_002">
<rule>
<pattern>
- <!-- PB001+ -->
- <!--
+<!-- PB001 + -->
+<!--
<token skip="-1"
regexp="yes">[qwertyuiopasdfghjklzxcvbnm].*<exception postag="ART.*|CON"
postag_regexp="yes"/></token>
- -->
+-->
+<!-- PB010 + -->
+<!--
<token skip="-1"
regexp="yes">[qwertyuiopasdfghjklzxcvbnm].*<exception
postag="PRE|ARTPRE.*|ART.*|CON|PON" postag_regexp="yes"></exception><exception
regexp="yes">l|dell|all|sull|dall|nell</exception></token>
- <!-- PB001- -->
- <token><match no="0"></match></token>
+-->
+ <token skip="-1" postag_regexp="yes"
postag="ADJ.*|ADV.*|NOUN.*|VER.*"></token>
+<!-- PB001 - -->
+ <marker>
+ <token><match no="0"></match></token>
+ </marker>
+<!-- PB010 - -->
</pattern>
<message>Si consiglia di rivedere la frase al fine di
eliminare la ripetizione della parola: <match no="1"></match>.</message>
- <example type="incorrect">Il <marker>bambino aveva capito bene
l'altro bambino</marker> di fronte a se.</example>
+ <example type="incorrect">Il bambino aveva capito bene l'altro
<marker>bambino</marker> di fronte a se.</example>
<example type="correct">Il bambino aveva capito bene l'altro
fanciullo di fronte a se.</example>
</rule>
</rulegroup>
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_122712
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits