Revision: 6404
http://languagetool.svn.sourceforge.net/languagetool/?rev=6404&view=rev
Author: dominikoeo
Date: 2012-02-02 22:12:34 +0000 (Thu, 02 Feb 2012)
Log Message:
-----------
[br] detect spurious mutations in things like: *ar c?\226?\128?\153hourfenn*
?\226?\134?\146 "ar gourfenn".
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-02-02 22:02:10 UTC
(rev 6403)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml 2012-02-02 22:12:34 UTC
(rev 6404)
@@ -1160,6 +1160,22 @@
</rule>
<rule>
<pattern mark_from="1">
+ <token regexp="yes">[au]r</token>
+ <token postag="(N m s|N f p) M.*:1:.*" postag_regexp="yes"
regexp="yes">c’h.*
+ <exception regexp="yes" inflected="yes">c’h.*</exception>
+ <exception postag="(N m s|N f p) M.*:0a:.*" postag_regexp="yes"
regexp="yes" inflected="yes">k.*</exception>
+ <exception postag="(N f s|N m p t) M:.*:1:.*" postag_regexp="yes"
regexp="yes" inflected="yes">g.*</exception>
+ </token>
+ </pattern>
+ <message>Direizh eo ober ur c’hemmadur dre vlotaat er ger «\2» amañ.
Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="...(.*)" regexp_replace="g$1"/></suggestion>?</message>
+ <example type="incorrect">Ar <marker>c’hourfenn</marker>.</example>
+ <example type="correct">Ar <marker>gourfenn</marker>.</example>
+ <example type="correct">Ar <marker>c’harr-tan</marker>.</example>
+ <example type="correct">Ar <marker>c’hodell</marker>.</example>
+ <example type="correct">Ar <marker>c’hoarezed</marker>.</example>
+ </rule>
+ <rule>
+ <pattern mark_from="1">
<token regexp="yes">a[nr]</token>
<and>
<token postag="N m p.*" postag_regexp="yes" regexp="yes">[dz].*où
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