Revision: 6249
http://languagetool.svn.sourceforge.net/languagetool/?rev=6249&view=rev
Author: dominikoeo
Date: 2012-01-15 16:11:10 +0000 (Sun, 15 Jan 2012)
Log Message:
-----------
[br] special case for masculine words ?\194?\171 aer, amzer, avel,
brud, c?\226?\128?\153hoari, c?\226?\128?\153hwezh, lann, lur, revr, tra
?\194?\187 which
behave as if they were feminine in case of the mutation
of adjective after them.
Modified Paths:
--------------
trunk/JLanguageTool/src/rules/br/grammar.xml
Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml 2012-01-15 15:41:48 UTC
(rev 6248)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml 2012-01-15 16:11:10 UTC
(rev 6249)
@@ -1645,6 +1645,20 @@
<rulegroup id="KEMM_N_J" name="Kemmadur en anv-gwan o tont warlec’h an
anv">
<rule>
<pattern mark_from="1" mark_to="-1">
+ <token
regexp="yes">aer|amzer|avel|brud|c’hoari|c’hwezh|lann|lur|revr|tra</token>
+ <token postag="J.*" postag_regexp="yes" inflected="yes"
regexp="yes">[ktpgdbm].*
+ <exception postag="J M.*:1:.*" postag_regexp="yes"/>
+ <exception postag="[^J].*" postag_regexp="yes"/>
+ </token>
+ <token negate="yes">ha</token>
+ </pattern>
+ <message>Ur c’hemmadur dra vlotaat a zlefe bezañ en anv-gwan «\2»
goude an anv gourel «\1» evel ma vefe un anv benel.</message>
+ <example type="incorrect">An avel <marker>kreñv</marker>.</example>
+ <example type="incorrect">An avel <marker>c’hreñv</marker>.</example>
+ <example type="correct">An avel <marker>greñv</marker>.</example>
+ </rule>
+ <rule>
+ <pattern mark_from="1" mark_to="-1">
<token postag="N f s.*|N m p t.*" postag_regexp="yes"/>
<token postag="J.*" postag_regexp="yes" inflected="yes"
regexp="yes">[gdbm].*
<exception postag="J M.*:1:.*" postag_regexp="yes"/>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs