Revision: 7531
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7531&view=rev
Author:   jaumeortola
Date:     2012-06-27 19:21:00 +0000 (Wed, 27 Jun 2012)
Log Message:
-----------
[ca] Added source of spellcheck dictionary

Modified Paths:
--------------
    trunk/JLanguageTool/CHANGES.txt
    trunk/JLanguageTool/src/rules/ca/grammar.xml

Modified: trunk/JLanguageTool/CHANGES.txt
===================================================================
--- trunk/JLanguageTool/CHANGES.txt     2012-06-27 18:30:34 UTC (rev 7530)
+++ trunk/JLanguageTool/CHANGES.txt     2012-06-27 19:21:00 UTC (rev 7531)
@@ -30,6 +30,7 @@
    -new synthesizer (given a part-of-speech, this generates the inflected word
     forms) (Jaume Ortolà i Font)
    -added spellcheck dictionary for the standalone version
+    using Hunspell dictionary ca-valencia (avl) 2.3.0 by softcatala
 
  -Russian:
    -fixed a few false alarms

Modified: trunk/JLanguageTool/src/rules/ca/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-06-27 18:30:34 UTC 
(rev 7530)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-06-27 19:21:00 UTC 
(rev 7531)
@@ -659,7 +659,7 @@
                         </unify>
                     </marker>
                     <!-- excloure totes les expressions temporals. Falta: "els 
darrers vint anys, els caps de setmana... la major part, la majoria" -->
-                    <token regexp="yes" negate="yes">\d+<exception 
inflected="yes" 
regexp="yes">vegada|volta|cop|any|dia|mes|segle|setmana|gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre</exception></token>
+                    <token regexp="yes" negate="yes">[\d-]+<exception 
inflected="yes" 
regexp="yes">vegada|volta|cop|any|dia|mes|segle|setmana|gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre</exception></token>
                     <token><exception inflected="yes" 
regexp="yes">vegada|volta|cop|any|dia|mes|segle|setmana|gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre</exception></token>
 <!-- excepcions: una altra vegada, els caps de setmana... -->
                     <token><exception inflected="yes" 
regexp="yes">vegada|volta|cop|any|dia|mes|segle|setmana|gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre</exception></token>
                     <token><exception inflected="yes" 
regexp="yes">vegada|volta|cop|any|dia|mes|segle|setmana</exception></token>
@@ -680,8 +680,6 @@
                             <token postag="D[DAI].*" 
postag_regexp="yes"><exception postag="RG|_GV_" postag_regexp="yes"/><exception 
regexp="yes">\p{Lu}[\p{Ll}·]*</exception></token>
                         </unify>
                     </marker>
-                    
-                    <token regexp="yes" negate="yes">\d+</token>
                 </pattern>
                 <message>Error de concordança.</message>
                 <short>Error de concordança.</short>

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to