Revision: 10058
http://sourceforge.net/p/languagetool/code/10058
Author: jaumeortola
Date: 2013-05-09 18:40:56 +0000 (Thu, 09 May 2013)
Log Message:
-----------
[ca] Dictionary update. Change in tagging regional variants of verbs (imperfet
de subjuntiu).
Modified Paths:
--------------
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan.dict
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_tags.txt
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
Modified:
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan.dict
===================================================================
(Binary files differ)
Modified:
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
===================================================================
(Binary files differ)
Modified:
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_tags.txt
===================================================================
---
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_tags.txt
2013-05-09 12:18:12 UTC (rev 10057)
+++
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_tags.txt
2013-05-09 18:40:56 UTC (rev 10058)
@@ -211,20 +211,22 @@
VAP00PM0
VAP00SF0
VAP00SM0
-VASI1P00
-VASI1P0V
-VASI1P0Y
-VASI1S00
-VASI2P00
-VASI2P0V
-VASI2P0Y
-VASI2S00
-VASI2S0V
-VASI2S0Y
-VASI3P00
-VASI3P0V
-VASI3P0Y
-VASI3S00
+VASI1P02
+VASI1P03
+VASI1P05
+VASI1S01
+VASI1S03
+VASI2P02
+VASI2P03
+VASI2P05
+VASI2S02
+VASI2S03
+VASI2S05
+VASI3P02
+VASI3P03
+VASI3P05
+VASI3S01
+VASI3S03
VASP1P0V
VASP1P0Y
VASP1S0V
@@ -328,34 +330,44 @@
VMN00000
VMP00PF0
VMP00PFB
+VMP00PFV
VMP00PM0
VMP00PMB
+VMP00PMV
VMP00SF0
VMP00SFB
+VMP00SFV
VMP00SM0
VMP00SMB
-VMSI1P0B
-VMSI1P0V
-VMSI1P0Y
-VMSI1S00
-VMSI1S0B
-VMSI1S0V
-VMSI1S0Z
-VMSI2P0B
-VMSI2P0V
-VMSI2P0Y
-VMSI2S00
-VMSI2S0B
-VMSI2S0V
-VMSI2S0Y
-VMSI3P00
-VMSI3P0B
-VMSI3P0V
-VMSI3P0Y
-VMSI3S00
-VMSI3S0B
-VMSI3S0V
-VMSI3S0Z
+VMP00SMV
+VMSI1P02
+VMSI1P03
+VMSI1P04
+VMSI1P05
+VMSI1P06
+VMSI1S01
+VMSI1S03
+VMSI1S04
+VMSI1S07
+VMSI2P02
+VMSI2P03
+VMSI2P04
+VMSI2P05
+VMSI2P06
+VMSI2S02
+VMSI2S03
+VMSI2S04
+VMSI2S05
+VMSI2S06
+VMSI3P02
+VMSI3P03
+VMSI3P04
+VMSI3P05
+VMSI3P06
+VMSI3S01
+VMSI3S03
+VMSI3S04
+VMSI3S07
VMSP1P00
VMSP1P0B
VMSP1S00
@@ -419,12 +431,22 @@
VSP00PM0
VSP00SF0
VSP00SM0
-VSSI1P00
-VSSI1S00
-VSSI2P00
-VSSI2S00
-VSSI3P00
-VSSI3S00
+VSSI1P02
+VSSI1P03
+VSSI1P05
+VSSI1S01
+VSSI1S03
+VSSI2P02
+VSSI2P03
+VSSI2P05
+VSSI2S02
+VSSI2S03
+VSSI2S05
+VSSI3P02
+VSSI3P03
+VSSI3P05
+VSSI3S01
+VSSI3S03
VSSP1P00
VSSP1S0V
VSSP1S0Y
Modified:
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
---
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-05-09 12:18:12 UTC (rev 10057)
+++
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-05-09 18:40:56 UTC (rev 10058)
@@ -17942,7 +17942,7 @@
<rule>
<pattern>
<token>allò</token>
- <token postag="A..[MC]S.*" postag_regexp="yes"
regexp="yes">h?[aeiouàéèíóòú].+</token>
+ <token postag="A..[MC]S.*" postag_regexp="yes"
regexp="yes">h?[aeiouàéèíóòú].+<exception>altre</exception></token>
</pattern>
<message>Amb valor abstractiu val més usar una
altra construcció. Correcte si equival a "aquella cosa <match no="2"
postag="AQ.*" postag_regexp="yes" postag_replace="AQ0[FC]S0"/>".</message>
<suggestion>el fet <match no="2"/></suggestion>
@@ -17953,6 +17953,7 @@
<short>Possible construcció incorrecta</short>
<example type="incorrect" correction="el fet
important|la cosa important|el punt important|el que és
important|l'important"><marker>allò important</marker></example>
<example type="correct">l'important</example>
+ <example type="correct">Allò altre no m'interessa
tant.</example>
</rule>
<rule>
<pattern>
@@ -18719,10 +18720,10 @@
<rulegroup id="EXIGEIX_VERBS_CENTRAL" name="Exigeix formes verbals del
català central">
<rule>
<pattern>
- <token postag="V.{6}[VBZ]"
postag_regexp="yes"><exception postag="V.{6}[0CXY]|_possible_nompropi|N.*|AQ.*"
postag_regexp="yes"/><exception>vinga</exception></token>
+ <token postag="V.{6}[VBZ34567]"
postag_regexp="yes"><exception
postag="V.{6}[0CXY12]|_possible_nompropi|N.*|AQ.*"
postag_regexp="yes"/><exception>vinga</exception></token>
</pattern>
<message>Forma verbal valenciana o balear.</message>
- <suggestion><match no="1" postag="(V.+)."
postag_regexp="yes" postag_replace="$1[CXY0]"/></suggestion>
+ <suggestion><match no="1" postag="(V.+)."
postag_regexp="yes" postag_replace="$1[CXY012]"/></suggestion>
<example type="incorrect" correction="pensi|penso">Jo
ho <marker>pense</marker>.</example>
<example type="incorrect"
correction="Digui">"<marker>Diga</marker> el que digui".</example>
<example type="correct">No es va poder encendre
mai.</example>
@@ -18831,10 +18832,10 @@
<rulegroup id="EXIGEIX_VERBS_VALENCIANS" name="Exigeix formes verbals
valencianes" default="off">
<rule>
<pattern>
- <token postag="V.{6}[CBY]"
postag_regexp="yes"><exception postag="V.{6}[0VXZ]|_possible_nompropi|N.*|AQ.*"
postag_regexp="yes"/><exception>vinga</exception></token>
+ <token postag="V.{6}[CBY24]"
postag_regexp="yes"><exception
postag="V.{6}[0VXZ13567]|_possible_nompropi|N.*|AQ.*"
postag_regexp="yes"/><exception>vinga</exception></token>
</pattern>
<message>Forma verbal no valenciana.</message>
- <suggestion><match no="1" postag="(V.+)."
postag_regexp="yes" postag_replace="$1[0VXZ]"/></suggestion>
+ <suggestion><match no="1" postag="(V.+)."
postag_regexp="yes" postag_replace="$1[0VXZ13567]"/></suggestion>
<example type="incorrect"
correction="tinguérem|tinguéssem">Si <marker>tinguéssim</marker> sort.</example>
<example type="incorrect" correction="pense">Jo
<marker>penso</marker>.</example>
<example type="incorrect" correction="facen">Que ells
<marker>facin</marker>.</example>
@@ -18876,10 +18877,10 @@
<rulegroup id="EXIGEIX_VERBS_BALEARS" name="Exigeix formes verbals
balears" default="off">
<rule>
<pattern>
- <token postag="V.{6}[CVX]"
postag_regexp="yes"><exception postag="V.{6}[0BYZ]|_possible_nompropi|N.*|AQ.*"
postag_regexp="yes"/><exception>vinga</exception></token>
+ <token postag="V.{6}[CVX356]"
postag_regexp="yes"><exception
postag="V.{6}[0BYZ1247]|_possible_nompropi|N.*|AQ.*"
postag_regexp="yes"/><exception>vinga</exception></token>
</pattern>
<message>Forma verbal no balear.</message>
- <suggestion><match no="1" postag="(V.+)."
postag_regexp="yes" postag_replace="$1[0BYZ]"/></suggestion>
+ <suggestion><match no="1" postag="(V.+)."
postag_regexp="yes" postag_replace="$1[0BYZ1247]"/></suggestion>
<!-- valencians -->
<example type="incorrect" correction="pens|pensi">Jo ho
<marker>pense</marker>.</example>
<example type="correct">No es va poder encendre
mai.</example>
@@ -18976,7 +18977,7 @@
</rule>
<rule>
<pattern>
- <token
regexp="yes">(apreh|apr|carv|compr|corpr|def|dep|desapr|desp|despr|empr|exp|malpr|malv|mampr|of|repr|retrov|rev|salpr|sobrepr|sorpr|susp|ullpr)én</token>
+ <token
regexp="yes">(apreh|apr|carv|compr|corpr|def|dep|desapr|desp|despr|depr|empr|exp|malpr|malv|mampr|of|repr|retrov|rev|salpr|sobrepr|sorpr|susp|ullpr)én</token>
</pattern>
<message>Accentuació valenciana.</message>
<suggestion><match no="1" regexp_match="^(.+)én"
regexp_replace="$1èn"></match></suggestion>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits