Revision: 9494
http://languagetool.svn.sourceforge.net/languagetool/?rev=9494&view=rev
Author: jaumeortola
Date: 2013-02-25 22:43:06 +0000 (Mon, 25 Feb 2013)
Log Message:
-----------
[ca] More fixes to the tagger dictionary (comparing to Softcatala dictionary).
New rule: BOBO.
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-02-25 21:28:26 UTC (rev 9493)
+++
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/catalan_tags.txt
2013-02-25 22:43:06 UTC (rev 9494)
@@ -11,7 +11,6 @@
AQ0FPP
AQ0FS0
AQ0FSP
-AQ0MF0
AQ0MN0
AQ0MP0
AQ0MPP
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-02-25 21:28:26 UTC (rev 9493)
+++
trunk/languagetool/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-02-25 22:43:06 UTC (rev 9494)
@@ -5611,13 +5611,12 @@
<marker>
<token regexp="yes">aquet(a|s|es)?</token>
</marker>
- <token postag="N.*" postag_regexp="yes"></token>
</pattern>
- <message>Possible confusió.</message>
+ <message>Possible confusió. "Aquet" existeix com a terme de
zoologia.</message>
<suggestion><match no="1" regexp_match="[Aa]que(t|ta|ts|tes)"
regexp_replace="aques$1"/></suggestion>
<short>Possible confusió</short>
<example type="incorrect"
correction="Aquest"><marker>Aquet</marker> home.</example>
- <example type="incorrect"
correction="Aquestes"><marker>Aquetes</marker> dones.</example>
+ <example type="incorrect" correction="aquestes">Ho fan
<marker>aquetes</marker>.</example>
<example type="correct">Aquest home.</example>
</rule>
</rulegroup>
@@ -13452,6 +13451,20 @@
<!-- #nomenar/anomenar
(?i)nomen.+ (?i)anomen.+ nom anom
(?i)càrrecs?|senadors?|.*presidents?|diputa.*|.*conseller.*|.*ministre.*|.*director.*|capit.+|.*general.*|vicari.*|rector.*|.*bisbe.*|alcalde.*|batl?le.*|tribunals?|consell|comit[éè]s?|entrenador.*|encarrega[td].*
ddXd,6dDd3d designar per a un càrrec donar nom -->
+ <rule id="BOBO" name="bobo">
+ <pattern>
+ <token regexp="yes">bobos?</token>
+ </pattern>
+ <message>Incorrecte si volíeu dir <suggestion><match no="1"
postag=".+([SP]).+" postag_regexp="yes"
postag_replace="AQ0M$10">beneit</match></suggestion>. "Bobo" existeix com a nom
d'un poble sudanès.</message>
+ <suggestion><match no="1" postag=".+([SP]).+"
postag_regexp="yes" postag_replace="AQ0M$10">badoc</match></suggestion>
+ <suggestion><match no="1" postag=".+([SP]).+"
postag_regexp="yes" postag_replace="AQ0M$10">babau</match></suggestion>
+ <suggestion><match no="1" postag=".+([SP]).+"
postag_regexp="yes" postag_replace="AQ0M$10">bajà</match></suggestion>
+ <suggestion><match no="1" postag=".+([SP]).+"
postag_regexp="yes" postag_replace="AQ0M$10">talòs</match></suggestion>
+ <short>Possible error</short>
+ <example type="incorrect"
correction="beneits|badocs|babaus|bajans|talossos">Pareixen
<marker>bobos</marker>.</example>
+ <example type="incorrect"
correction="beneit|badoc|babau|bajà|talòs">Pareix
<marker>bobo</marker>.</example>
+ <example type="correct">Ets un simple.</example>
+ </rule>
<rule id="LLIURAR" name="lliurar/deslliurar">
<pattern>
<marker>
@@ -13461,6 +13474,7 @@
</pattern>
<message>Incorrecte si equival a <suggestion>des<match
no="1"/></suggestion>.</message>
<suggestion><match no="1" regexp_match="lliur(.*)"
regexp_replace="alliber$1"/></suggestion>
+ <short>Possible error</short>
<example type="incorrect"
correction="deslliuraren|alliberaren">Es <marker>lliuraren</marker> del
podriment.</example>
<example type="correct">Es van lliurar a la beguda.</example>
</rule>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits