Revision: 9951
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9951&view=rev
Author:   pbianchini
Date:     2013-04-17 12:06:10 +0000 (Wed, 17 Apr 2013)
Log Message:
-----------
fixing bug item #3611066, was opened at 2013-04-16 07:09
In my text I have "sabato 20", and the tool reports that 20 has to be changed 
to the corresponding in letters.
However, in such a case everything is fine: a number after a week day is ok.

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

Modified: 
trunk/languagetool/languagetool-language-modules/it/src/main/resources/org/languagetool/rules/it/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/it/src/main/resources/org/languagetool/rules/it/grammar.xml
        2013-04-16 21:52:20 UTC (rev 9950)
+++ 
trunk/languagetool/languagetool-language-modules/it/src/main/resources/org/languagetool/rules/it/grammar.xml
        2013-04-17 12:06:10 UTC (rev 9951)
@@ -25,8 +25,8 @@
  
================================================================================
  Italian Grammar and Style Rules for Italian
  Paolo Bianchini
- Date: 09/04/2013
- Ver:  2.1.0.2
+ Date: 17/04/2013
+ Ver:  2.1.0.3
  
================================================================================
  Categorie delle regole
     gruppi delle regole
@@ -116,7 +116,7 @@
  PB012    Added exception for article of the word "dei"
  3609558  False positive in rule ER_02_002 'al'-'la'
  3610220  False positive in 'per lo meno' for rule GR_02_001 changed so that 
adv are skipped
- 3610360  False positive in dates for rule ST_04_001
+ 3610360  False positive in dates for rule ST_04_001 fixes also 3611066
  3610289  False positive il artice for word "Signore"
  ======== 
==================================================================================
 -->
@@ -1382,7 +1382,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>1</token></marker>
+                    <marker><token>1<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1393,7 +1393,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>2</token></marker>
+                    <marker><token>2<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1404,7 +1404,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>3</token></marker>
+                    <marker><token>3<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1415,7 +1415,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>4</token></marker>
+                    <marker><token>4<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1426,7 +1426,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>5</token></marker>
+                    <marker><token>5<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1437,7 +1437,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>6</token></marker>
+                    <marker><token>6<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1448,7 +1448,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>7</token></marker>
+                    <marker><token>7<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1459,7 +1459,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>8</token></marker>
+                    <marker><token>8<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1470,7 +1470,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token>9</token></marker>
+                    <marker><token>9<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>
@@ -1483,7 +1483,7 @@
             <rule>
                 <pattern>
 <!-- 3610360 + -->
-                    <marker><token 
regexp="yes">[123456789][0123456789]</token></marker>
+                    <marker><token 
regexp="yes">[123456789][0123456789]<exception scope="previous" 
regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
                                        <token><exception 
regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
 <!-- 3610360 - -->
                 </pattern>

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


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to