Revision: 8739
http://languagetool.svn.sourceforge.net/languagetool/?rev=8739&view=rev
Author: dominikoeo
Date: 2012-12-31 02:14:59 +0000 (Mon, 31 Dec 2012)
Log Message:
-----------
[br] added rule to detect confusion
between "ur c'hont" and "ur gont".
Modified Paths:
--------------
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
2012-12-31 01:33:24 UTC (rev 8738)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
2012-12-31 02:14:59 UTC (rev 8739)
@@ -6979,7 +6979,7 @@
<token>gevred</token>
</marker>
</pattern>
- <message>Ha fellout a rae deoc’h skrivañ
<suggestion>\1-gevret</suggestion> ?</message>
+ <message>Ha fellout a rae deoc’h skrivañ
<suggestion>\1-gevret</suggestion>?</message>
<example type="incorrect">Holl <marker>a gevred</marker> gant gouel al
labourerien!</example>
<example type="correct">Holl a-gevret gant gouel al
labourerien!</example>
</rule>
@@ -6987,11 +6987,45 @@
<pattern>
<marker><token>a-gevred</token></marker>
</pattern>
- <message>Ha fellout a rae deoc’h skrivañ
<suggestion>a-gevret</suggestion> ?</message>
+ <message>Ha fellout a rae deoc’h skrivañ
<suggestion>a-gevret</suggestion>?</message>
<example type="incorrect">Holl <marker>a-gevred</marker> gant gouel al
labourerien!</example>
<example type="correct">Holl a-gevret gant gouel al
labourerien!</example>
</rule>
</rulegroup>
+ <rulegroup id="KONT" name="ur gont pe ur c’hont">
+ <rule>
+ <pattern>
+ <token inflected="yes"
regexp="yes">digeriñ|klozañ|krouiñ|sevel|krouidigezh</token>
+ <token>ur</token>
+ <marker><token>c’hont</token></marker>
+ </pattern>
+ <message>Ha fellout a rae deoc’h skrivañ
<suggestion>gont</suggestion>?</message>
+ <example type="incorrect">Krouiñ ur <marker>c’hont</marker>.</example>
+ <example type="correct">Krouiñ ur <marker>gont</marker>.</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token>ur</token>
+ <marker><token>c’hont</token></marker>
+ <token
regexp="yes">emgefre|Facebook|Gmail|Launchpad|Twitter|OpenStreetMap|Wikipedia|WordPress|Livejournal|implijer|postel|http</token>
+ </pattern>
+ <message>Ha fellout a rae deoc’h skrivañ <suggestion>gont</suggestion>
?</message>
+ <example type="incorrect">Ur <marker>c’hont</marker> Facebook ho
peus?</example>
+ <example type="correct">Ur gont Facebook ho peus?</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token regexp="yes">digoret|klozet|krouet|savet</token>
+ <token postag="X KAOUT1"/>
+ <token postag="X KAOUT2"/>
+ <token>ur</token>
+ <marker><token>c’hont</token></marker>
+ </pattern>
+ <message>Ha fellout a rae deoc’h skrivañ <suggestion>gont</suggestion>
?</message>
+ <example type="incorrect">Digoret em eus ur
<marker>c’hont</marker>.</example>
+ <example type="correct">Digoret em eus ur
<marker>gont</marker>.</example>
+ </rule>
+ </rulegroup>
</category>
<!-- vim: foldmethod=marker foldmarker=<category,</category:
-->
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits