Revision: 6837
http://languagetool.svn.sourceforge.net/languagetool/?rev=6837&view=rev
Author: dominikoeo
Date: 2012-05-06 12:39:19 +0000 (Sun, 06 May 2012)
Log Message:
-----------
[br] detect more errors in rule DIN_DA such as:
*Poent bras e oa dit da mont kuit.* -> "Poent bras e oa dit mont kuit."
*Gwelloc?\226?\128?\153h e vefe ganin da mont kuit.* ->
"Gwelloc?\226?\128?\153h e vefe ganin mont kuit."
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-05-06 12:21:53 UTC
(rev 6836)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml 2012-05-06 12:39:19 UTC
(rev 6837)
@@ -5347,28 +5347,36 @@
<rulegroup id="DIN_DA" name="posupl eo din da">
<rule>
<pattern mark_from="2">
- <token regexp="yes">gwelloc’h|posupl|ret</token>
+ <token regexp="yes"
skip="1">arabat|dañjerus|dav|koulz|gwelloc’h|mat|poent|posupl|ret</token>
<token>eo</token>
- <token inflected="yes" postag="P e . .*"
postag_regexp="yes">da</token>
+ <token inflected="yes" regexp="yes" postag="P e . .*"
postag_regexp="yes">da|gant</token>
<token>da</token>
<token postag="V inf.*" postag_regexp="yes"/>
</pattern>
<message>Ha fellout a rae deoc’h skrivañ <suggestion>\3
\5</suggestion>?</message>
<example type="incorrect">Posupl eo <marker>din da
chom</marker>?</example>
<example type="correct">Posupl eo din chom?</example>
+ <example type="incorrect">Poent bras eo <marker>dit da mont</marker>
kuit.</example>
+ <example type="correct">Poent bras eo dit mont kuit.</example>
+ <example type="incorrect">Gwelloc’h eo <marker>ganin da mont</marker>
mont.</example>
+ <example type="correct">Gwelloc’h eo ganin mont kuit.</example>
</rule>
<rule>
<pattern mark_from="3">
- <token regexp="yes">gwelloc‘h|posupl|ret</token>
+ <token regexp="yes"
skip="1">arabat|dañjerus|dav|koulz|gwelloc’h|mat|poent|posupl|ret</token>
<token>e</token>
<token regexp="yes">oa|voe?|vefe|vije</token>
- <token inflected="yes" postag="P e . .*"
postag_regexp="yes">da</token>
+ <token inflected="yes" regexp="yes" postag="P e . .*"
postag_regexp="yes">da|gant</token>
<token>da</token>
<token postag="V inf.*" postag_regexp="yes"/>
</pattern>
<message>Ha fellout a rae deoc’h skrivañ <suggestion>\4
\6</suggestion>?</message>
<example type="incorrect">Posupl e oa <marker>din da
chom</marker>?</example>
<example type="correct">Posupl e oa din chom?</example>
+ <example type="incorrect">Poent bras e oa <marker>dit da mont</marker>
kuit.</example>
+ <example type="correct">Poent bras e oa dit mont kuit.</example>
+ <example type="incorrect">Gwelloc’h e vefe <marker>ganin da
mont</marker> kuit.</example>
+ <example type="correct">Gwelloc’h e vefe ganin mont kuit.</example>
</rule>
</rulegroup>
</category>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs