Revision: 8671
http://languagetool.svn.sourceforge.net/languagetool/?rev=8671&view=rev
Author: jaumeortola
Date: 2012-12-26 21:20:15 +0000 (Wed, 26 Dec 2012)
Log Message:
-----------
[ca] More corrections in the tagger dictionary: checking lemmas without entry
word.
Modified Paths:
--------------
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan.dict
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan.dict
===================================================================
(Binary files differ)
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/catalan_synth.dict
===================================================================
(Binary files differ)
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
2012-12-26 17:58:23 UTC (rev 8670)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
2012-12-26 21:20:15 UTC (rev 8671)
@@ -2461,8 +2461,7 @@
</pattern>
<disambig action="filter" postag="[^N].*" />
</rule> -->
- </rulegroup>
-
+ </rulegroup>
<rule id="cal_infinitiu" name="cal + infinitiu">
<pattern>
<marker>
@@ -2471,15 +2470,24 @@
<token postag="V.N.*" postag_regexp="yes"></token>
</pattern>
<disambig action="remove"><wd pos="VMIP1S0"></wd></disambig>
- </rule>
+ </rule>
<!-- verb aux seguit d'infinitiu: va donar-->
<rulegroup id="VauxInf" name="Verb auxiliar seguit d'infinitiu">
+ <rule> <!-- desambigua "va encendre" i semblants -->
+ <pattern>
+ <token postag="VA.*" postag_regexp="yes"/>
+ <marker>
+ <token postag="V.N.*" postag_regexp="yes"/>
+ </marker>
+ </pattern>
+ <disambig action="filter" postag="V.N.*" />
+ </rule>
<rule>
<pattern>
<marker>
<token postag="VA.*" postag_regexp="yes" inflected="yes"
skip="5">anar<exception scope="next"
postag="_GV_|_PUNCT_CONT|R.*|.*LOC_ADV.*|V.N.*|SENT_END|[NA].*|complement"
postag_regexp="yes" negate_pos="yes"/></token>
</marker>
- <token postag="V.N.*" postag_regexp="yes"></token>
+ <token postag="V.N.*" postag_regexp="yes"/>
</pattern>
<disambig><match no="1" postag_regexp="yes"
postag="VA.*"></match></disambig>
</rule>
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2012-12-26 17:58:23 UTC (rev 8670)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2012-12-26 21:20:15 UTC (rev 8671)
@@ -5676,9 +5676,12 @@
</rule>
<rule>
<pattern>
- <token>de</token>
- <token spacebefore="no">l</token>
- <token regexp="yes">h?[aeiouàèéíòóú].*<exception
regexp="yes">h?[ui][aeioàèéóòu].+|o|i|host</exception><exception
inflected="yes">ordinal</exception><exception
postag="hac_aspirada|mot_foraster|UNKNOWN|NP..000" postag_regexp="yes"/></token>
+ <token><exception postag="mot_foraster|UNKNOWN|NP..000"
postag_regexp="yes"/></token>
+ <marker>
+ <token>de</token>
+ <token spacebefore="no">l</token>
+ <token regexp="yes">h?[aeiouàèéíòóú].*<exception
regexp="yes">h?[ui][aeioàèéóòu].+|o|i|host</exception><exception
inflected="yes">ordinal</exception><exception
postag="hac_aspirada|mot_foraster|UNKNOWN|NP..000" postag_regexp="yes"/></token>
+ </marker>
</pattern>
<message>Cal escriure: <suggestion>de l'<match
no="3"></match></suggestion>.</message>
<short>Error ortogràfic</short>
@@ -5686,6 +5689,7 @@
<example type="correct">>de l'home</example>
<example type="correct">del Hubble</example>
<example type="correct">del atletismo</example>
+ <example type="correct">Ministerio del Interior</example>
<example type="correct">del iugoslau</example>
</rule>
<rule>
@@ -14773,6 +14777,22 @@
<example type="incorrect"
correction="sotsoficials"><marker>suboficials</marker></example>
<example type="correct">sotsoficial</example>
</rule>
+ <rule id="PAULATI" name="yes">
+ <pattern>
+ <token inflected="yes">paulatí</token>
+ </pattern>
+ <message>Llatinisme no enregistrat pels diccionaris normatius.
Podeu dir: <suggestion><match no="1" postag="(AQ.*)" postag_regexp="yes"
postag_replace="$1">progressiu</match></suggestion>, <suggestion><match no="1"
postag="AQ0.(.)0" postag_regexp="yes"
postag_replace="AQ0C$10">gradual</match></suggestion></message>
+ <example type="incorrect">La desaparició
<marker>paulatina</marker></example>
+ <example type="correct">la desaparició gradual</example>
+ </rule>
+ <rule id="PAULATINAMENT" name="yes">
+ <pattern>
+ <token>paulatinament</token>
+ </pattern>
+ <message>Llatinisme no enregistrat pels diccionaris normatius.
Podeu dir: <suggestion>progressivament</suggestion>,
<suggestion>gradualment</suggestion>.</message>
+ <example
type="incorrect"><marker>paulatinament</marker></example>
+ <example type="correct">gradualment</example>
+ </rule>
<rule>
<pattern>
<token regexp="yes">desangela(t|ts|da|des)</token>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits