Revision: 9767
http://languagetool.svn.sourceforge.net/languagetool/?rev=9767&view=rev
Author: dominikoeo
Date: 2013-03-24 09:26:54 +0000 (Sun, 24 Mar 2013)
Log Message:
-----------
[br] - disambiguate word "rez" to fix false positive in:
"Gouzout a rez n'omp ket pinvidik."
- Fixed wrong error and wrong suggestion in:
*Ar pez a laverez* -> "Ar pezh a lavarez"
- Find error in: *Gwechall kozh* -> Gwechall-gozh
Modified Paths:
--------------
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/disambiguation.xml
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
Modified:
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/disambiguation.xml
===================================================================
---
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/disambiguation.xml
2013-03-23 22:03:33 UTC (rev 9766)
+++
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/disambiguation.xml
2013-03-24 09:26:54 UTC (rev 9767)
@@ -550,7 +550,14 @@
<disambig postag="N f s"/>
</rule>
</rulegroup>
-
+ <rule id="REZ" name="rez">
+ <pattern>
+ <token postag="V inf"/>
+ <token>a</token>
+ <marker><token>rez</token></marker>
+ </pattern>
+ <disambig postag="V pres 2 s"/>
+ </rule>
<rule id="FRANCE_3" name="France 3">
<pattern case_sensitive="yes">
<marker><token>France</token></marker>
Modified:
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
---
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
2013-03-23 22:03:33 UTC (rev 9766)
+++
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
2013-03-24 09:26:54 UTC (rev 9767)
@@ -2055,7 +2055,7 @@
<token postag="N [^M]*M.*" postag_regexp="yes" regexp="yes"
inflected="yes">b.*
<exception postag="(N [ef] s|N m p t) M.*:1a:.*"
postag_regexp="yes"/>
<exception regexp="yes" inflected="yes">[vp].*</exception>
- <exception regexp="yes">vrud(-(mañ|se|hont))?</exception>
+ <exception regexp="yes">vrud(-(mañ|se|hont))?|pez</exception>
</token>
</marker>
</pattern>
@@ -4232,6 +4232,7 @@
<example type="incorrect"><marker>Brudet mat</marker> eo.</example>
<example type="correct"><marker>Brudet-mat</marker> eo.</example>
<example type="correct">Pe mat pe fall e oa.</example>
+ <example type="correct">Gouzout a <marker>rez mat</marker> n’omp ket
pinvidik.</example>
</rule>
<rule id="BERR_HA_BERR" name="berr ha berr → berr-ha-berr (hag all)">
<pattern>
@@ -7703,7 +7704,7 @@
</marker>
</pattern>
<message>Ha fellout a rae deoc’h skrivañ
<suggestion>en-dro</suggestion>?</message>
- <example type="incorrect">N’a ket an urzhiater <marker>en
dro</marker>.</example>
+ <example type="incorrect" correction="en-dro">N’a ket an urzhiater
<marker>en dro</marker>.</example>
<example type="correct">N’a ket an urzhiater
<marker>en-dro</marker>.</example>
</rule>
</rulegroup>
@@ -7712,9 +7713,41 @@
<token>war-lec’h</token>
</pattern>
<message>Ha fellout a rae deoc’h skrivañ
<suggestion>war-lerc’h</suggestion>?</message>
- <example type="incorrect"><marker>War-lec’h</marker> ar brezel.</example>
+ <example type="incorrect"
correction="War-lerc’h"><marker>War-lec’h</marker> ar brezel.</example>
<example type="correct">War-lerc’h ar brezel.</example>
</rule>
+ <rule id="PEZH" name="ar pez → a pezh">
+ <pattern>
+ <token>ar</token>
+ <marker><token>pez</token></marker>
+ </pattern>
+ <message>Ha fellout a rae deoc’h skrivañ
<suggestion>pezh</suggestion>?</message>
+ <example type="incorrect" correction="pezh">Ar <marker>pez</marker> a
lavarez.</example>
+ <example type="correct">Ar <marker>pezh</marker> a lavarez.</example>
+ </rule>
+ <rulegroup id="GECHALL_GOZH" name="Gwechall-kozh → Gwechall-gozh">
+ <rule>
+ <pattern>
+ <token regexp="yes">gwe[cz]hall?-?[kg]ozh?<exception
regexp="yes">gwe[cz]hall-gozh</exception></token>
+ </pattern>
+ <message>Ha fellout a rae deoc'h skrivañ <suggestion><match no="1"
regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
+ <example type="incorrect"
correction="Gwechall-gozh"><marker>Gwechall-kozh</marker>.</example>
+ <example type="incorrect"
correction="Gwezhall-gozh"><marker>Gwezhall-kozh</marker>.</example>
+ <example type="correct"><marker>Gwechall-gozh</marker>.</example>
+ <example type="correct"><marker>Gwezhall-gozh</marker>.</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token regexp="yes">gwe[cz]hall?</token>
+ <token regexp="yes">[gk]ozh?</token>
+ </pattern>
+ <message>Ha fellout a rae deoc'h skrivañ <suggestion><match no="1"
regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
+ <example type="incorrect" correction="Gwechall-gozh"><marker>Gwechall
kozh</marker>.</example>
+ <example type="incorrect" correction="Gwezhall-gozh"><marker>Gwezhall
kozh</marker>.</example>
+ <example type="correct"><marker>Gwechall-gozh</marker>.</example>
+ <example type="correct"><marker>Gwezhall-gozh</marker>.</example>
+ </rule>
+ </rulegroup>
</category>
<!-- vim: foldmethod=marker foldmarker=<category,</category:
-->
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_mar
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits