Revision: 8693
http://languagetool.svn.sourceforge.net/languagetool/?rev=8693&view=rev
Author: jaumeortola
Date: 2012-12-28 20:45:09 +0000 (Fri, 28 Dec 2012)
Log Message:
-----------
[ca] - Sentence considered incorrect is now correct with better disambiguation
("primer de tot" (loc adv).
- New rule: ALBERGAR_ABRIGAR
Modified Paths:
--------------
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/disambiguation.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
2012-12-28 17:46:57 UTC (rev 8692)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
2012-12-28 20:45:09 UTC (rev 8693)
@@ -311,8 +311,7 @@
</marker>
</pattern>
<disambig action="filter" postag=".*LOC_PREP.*"></disambig>
- </rule>
-
+ </rule>
<rule id="cada_vegada" name="cada vegada">
<pattern>
<token>cada</token>
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-28 17:46:57 UTC (rev 8692)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2012-12-28 20:45:09 UTC (rev 8693)
@@ -953,7 +953,7 @@
<example type="correct">Amb tot, els comptes de
Barcelona</example>
<example type="incorrect">La literatura religiosa, sobre
<marker>tot la cristiana</marker>,</example>
<example type="correct">La literatura religiosa, sobretot la
cristiana,</example>
- <example type="incorrect">Primer de <marker>tot la
qüestió</marker> dels cardinals</example>
+ <example type="correct">Primer de tot la qüestió dels
cardinals</example>
<example type="correct">Primer de tot, la qüestió dels
cardinals</example>
<example type="correct">Espero que retrobeu tots la
pàgina</example>
<example type="correct">les civilitzacions d'Amèrica
prehispànica coneixien totes l'ús dels aliatges</example>
@@ -12036,6 +12036,17 @@
<!-- #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="ALBERGAR_ABRIGAR" name="Evita: albergar/abrigar
esperances/dubtes">
+ <pattern>
+ <marker>
+ <token regexp="yes" inflected="yes"
skip="2">abrigar|albergar</token>
+ </marker>
+ <token regexp="yes"
inflected="yes">esperança|dubte|inquietud</token>
+ </pattern>
+ <message>Val més dir: <suggestion><match no="1" postag="(V.*)"
postag_regexp="yes" postag_replace="$1">tenir</match></suggestion>,
<suggestion><match no="1" postag="(V.*)" postag_regexp="yes"
postag_replace="$1">alimentar</match></suggestion>, <suggestion><match no="1"
postag="(V.*)" postag_regexp="yes"
postag_replace="$1">nodrir</match></suggestion>, <suggestion><match no="1"
postag="(V.*)" postag_regexp="yes"
postag_replace="$1">concebre</match></suggestion>.</message>
+ <example type="incorrect">Ja no <marker>abrigava</marker> cap
esperança</example>
+ <example type="correct">Ja no tenia cap esperança</example>
+ </rule>
<rule id="PLANOL_PLA" name="plànol pla">
<pattern>
<marker>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits