Revision: 6282
http://languagetool.svn.sourceforge.net/languagetool/?rev=6282&view=rev
Author: dominikoeo
Date: 2012-01-18 17:39:42 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
[br] fixed false positive in "Al lodenn vrasa?\195?\177".
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-18 16:07:10 UTC
(rev 6281)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml 2012-01-18 17:39:42 UTC
(rev 6282)
@@ -1115,7 +1115,7 @@
<rule>
<pattern mark_from="1">
<token regexp="yes">[au]r<exception postag="X EN_UR"/></token>
- <token postag="N [^M]* M.*" postag_regexp="yes" regexp="yes"
inflected="yes">b.*
+ <token postag="N [^M]*M.*" postag_regexp="yes" regexp="yes"
inflected="yes">b.*
<exception postag="(N f 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>
@@ -1647,7 +1647,7 @@
<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">[ktpgbm].*
- <exception postag="J M.*:1:.*" postag_regexp="yes"/>
+ <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
<exception postag="[^J].*" postag_regexp="yes"/>
</token>
<token negate="yes">ha</token>
@@ -1663,7 +1663,7 @@
<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">[gbm].*
- <exception postag="J M.*:1:.*" postag_regexp="yes"/>
+ <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
<exception postag="[^J].*" postag_regexp="yes"/>
<!-- bennak is marked as an adjective in the diction, it
should be an adverb -->
@@ -1678,13 +1678,15 @@
<example type="correct">Ur chapel vihan.</example>
<example type="correct">Ur chapel bihan ha brav.</example>
<example type="correct">Trugarez memes tra.</example>
+ <example type="incorrect">Al lodenn <marker>brasañ</marker>.</example>
+ <example type="correct">Al lodenn vrasañ.</example>
</rule>
<rule>
<pattern mark_from="1" mark_to="-1">
<token postag="N f s.*|N m p t.*" postag_regexp="yes"
regexp="yes">.*[lmnrvaeiouwy]
</token>
<token postag="J.*" postag_regexp="yes" inflected="yes"
regexp="yes">[ktp].*
- <exception postag="J M.*:1:.*" postag_regexp="yes"/>
+ <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
<exception postag="[^J].*" postag_regexp="yes"/>
<!-- bennak is marked as an adjective in the diction, it
should be an adverb -->
@@ -1706,7 +1708,7 @@
</token>
<and>
<token postag="J[^M]*M.*:1:.*" postag_regexp="yes">
- <exception postag="[^M_]+" postag_regexp="yes"/>
+ <exception negate_pos="yes" postag="SENT_END|[^M]*M.*"
postag_regexp="yes"/>
</token>
<token regexp="yes">[gdb].*</token>
</and>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs