Revision: 9720
http://languagetool.svn.sourceforge.net/languagetool/?rev=9720&view=rev
Author: dominikoeo
Date: 2013-03-17 22:39:37 +0000 (Sun, 17 Mar 2013)
Log Message:
-----------
[br] detect error in:
*Ur gouel vras*, *Ur ouel bras* -> "Ur gouel bras", "Ur ouel vras"
Modified Paths:
--------------
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/rules/br/grammar.xml
===================================================================
---
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
2013-03-17 21:35:43 UTC (rev 9719)
+++
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
2013-03-17 22:39:37 UTC (rev 9720)
@@ -2863,8 +2863,45 @@
</rule>
<rule>
<pattern>
- <token regexp="yes">[au][lnr]|er</token>
+ <token regexp="yes">[au][nr]|er</token>
<marker>
+ <and>
+ <token postag="N m [^M]*" postag_regexp="yes" inflected="yes"
regexp="yes">[tpgdbm].*</token>
+ <token postag="N f [^M]*" postag_regexp="yes" inflected="yes"
regexp="yes">[tpgdbm].*</token>
+ </and>
+ <token postag="J[^M]*M.*:1:.*" postag_regexp="yes" inflected="yes"
regexp="yes">[ktpgdbm].*
+ <exception postag="J[^M]*" postag_regexp="yes"/>
+ </token>
+ </marker>
+ </pattern>
+ <message>Ur c’hemmadur dre vlotaat a zlefe bezañ en anv «\2» pe ne
zlefe ket bezañ ur c’hemmadur en anv gwan «\3».</message>
+ <example type="incorrect">Ur <marker>gouel vras</marker>.</example>
+ <example type="correct">Ur <marker>gouel bras</marker>.</example>
+ <example type="correct">Ur <marker>ouel vras</marker>.</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token regexp="yes">[au][nr]|er</token>
+ <marker>
+ <and>
+ <token postag="N m [^M]*M.*:(1|0a):.*" postag_regexp="yes"/>
+ <token postag="N f [^M]*M.*:(1|0a):.*" postag_regexp="yes"/>
+ </and>
+ <token postag="J[^M]*" postag_regexp="yes" regexp="yes"
inflected="yes">[ktpgdbm].*
+ <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
+ <exception postag="J[^M]*" postag_regexp="yes" inflected="yes"
regexp="yes">[^ktpgdbm].*</exception>
+ </token>
+ </marker>
+ </pattern>
+ <message>Ne zlefe ket bezañ ur c’hemmadur en anv «\2» pe e tlefe bezañ
ur c’hemmadur en anv-gwan «\3».</message>
+ <example type="incorrect">Ur <marker>ouel bras</marker>.</example>
+ <example type="correct">Ur <marker>ouel vras</marker>.</example>
+ <example type="correct">Ur <marker>gouel bras</marker>.</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token regexp="yes">[au][nr]|er</token>
+ <marker>
<token postag="N e [^M]*" postag_regexp="yes" inflected="yes"
regexp="yes">[tpgdbm].*</token>
<token postag="J[^M]*M.*:1:.*" postag_regexp="yes" inflected="yes"
regexp="yes">[ktpgdbm].*
<exception postag="J[^M]*" postag_regexp="yes"/>
@@ -2878,7 +2915,7 @@
</rule>
<rule>
<pattern>
- <token regexp="yes">[au][lnr]|er|hor</token>
+ <token regexp="yes">[au][nr]|er</token>
<marker>
<token postag="N e[^M]*M.*:(1|0a):.*" postag_regexp="yes"/>
<token postag="J[^M]*" postag_regexp="yes" regexp="yes"
inflected="yes">[ktpgdbm].*
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