Revision: 6217
http://languagetool.svn.sourceforge.net/languagetool/?rev=6217&view=rev
Author: dominikoeo
Date: 2012-01-10 23:03:06 +0000 (Tue, 10 Jan 2012)
Log Message:
-----------
[br] detect incorrect mutations in:
*Un dister tra* ?\226?\134?\146 "un dister dra"
*E berr komzo?\195?\185* ?\226?\134?\146 "E berr gomzo?\195?\185"
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-10 22:02:53 UTC
(rev 6216)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml 2012-01-10 23:03:06 UTC
(rev 6217)
@@ -198,7 +198,7 @@
<rulegroup id="KEMM_DRE_VLOTAAT_GER" name="kemmadur dre vlotaat goude
gerioù zo.">
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="V.*" postag_regexp="yes">a</exception>
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
@@ -214,7 +214,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<and>
@@ -240,7 +240,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
<exception scope="previous">ez</exception>
</token>
@@ -262,7 +262,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<and>
@@ -277,7 +277,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<and>
@@ -297,7 +297,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<and>
@@ -314,7 +314,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<and>
@@ -341,7 +341,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<and>
@@ -367,7 +367,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
<exception scope="previous" regexp="yes">e?z|ned</exception>
</token>
@@ -389,7 +389,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<token regexp="yes">m.*
@@ -404,7 +404,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="V.*" postag_regexp="yes">a</exception>
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
@@ -426,7 +426,7 @@
</rule>
<rule>
<pattern mark_from="1">
- <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|gwall|ne|pa|re|seul
+ <token
regexp="yes">2|[ae]|aba|da|daou|div|dre|eme|endra|ez|gwall|ne|pa|re|seul
<exception postag="P|L e" postag_regexp="yes">e</exception>
</token>
<and>
@@ -1624,7 +1624,7 @@
<rule id="GER_KEMM" name="kemmadur ebet goude gerioù">
<pattern mark_from="1">
- <token
regexp="yes">abaoe|a-benn|a-wechoù|arabat|a-raok|daoust|eget|eus|[e’]vel(-se)?|e-giz|[e’]vit|goude|hag?|hep|kalz|kement|ke[nt]|krenn|lies|mard?|met|nemet|memes|nebeu(dig)?|pas|pep|pebezh|pegen|pere|petvet|peseurt|petore|rak|setu</token>
+ <token
regexp="yes">abaoe|a-benn|a-wechoù|arabat|a-raok|daoust|eget|ent|eus|[e’]vel(-se)?|e-giz|[e’]vit|goude|hag?|hep|kalz|kement|ke[nt]|krenn|lies|mard?|met|nemet|memes|nebeu(dig)?|pas|pep|pebezh|pegen|pere|petvet|peseurt|petore|rak|setu</token>
<token postag="[^M]*M:.*" postag_regexp="yes">
<exception negate_pos="yes" postag="[^M]*M:.*" postag_regexp="yes"/>
<exception>vat</exception>
@@ -1695,16 +1695,49 @@
</rule>
</rulegroup>
- <rule id="AR_PAOURKAEZH" name="Ar baourkaezh den → ar paourkaezh den">
- <pattern mark_from="1">
- <token>ar</token>
- <token regexp="yes">[bf]aour-?kaezh</token>
+ <rulegroup id="AR_PAOURKAEZH" name="Ar baourkaezh den → ar paourkaezh den">
+ <rule>
+ <pattern mark_from="1">
+ <token>ar</token>
+ <token regexp="yes">[bf]aour-?kaezh</token>
+ </pattern>
+ <message>Ne zlefe ket bezañ ur c’hemmadur gant an anv-gwan «\2». Ha
fellout a rae deoc’h skrivañ <suggestion>paourkaezh</suggestion>?</message>
+ <example type="incorrect">Ar <marker>baourkaezh</marker> den.</example>
+ <example type="incorrect">Ar <marker>faourkaezh</marker> den.</example>
+ <example type="correct">Ar <marker>paourkaezh</marker> den.</example>
+ </rule>
+ <rule>
+ <pattern mark_from="1">
+ <token>ar</token>
+ <token regexp="yes">[bf]aour</token>
+ <token>kaezh</token>
+ </pattern>
+ <message>Ne zlefe ket bezañ ur c’hemmadur gant an anv-gwan «\2 \3». Ha
fellout a rae deoc’h skrivañ <suggestion>paourkaezh</suggestion>?</message>
+ <example type="incorrect">Ar <marker>baour kaezh</marker>
den.</example>
+ <example type="incorrect">Ar <marker>faour kaezh</marker>
den.</example>
+ <example type="correct">Ar <marker>paourkaezh</marker> den.</example>
+ </rule>
+ </rulegroup>
+ <rule id="DISTER_DRA" name="Un dister tra → un dister dra">
+ <pattern mark_from="2">
+ <token postag_regexp="yes" postag="D .*"/>
+ <token>dister</token>
+ <token regexp="yes">[tz]ra</token>
</pattern>
- <message>Ne zlefe ket bezañ ur c’hemmadur gant an anv-gwan «\2». Ha
fellout a rae deoc’h skrivañ <suggestion>paourkaezh</suggestion>?</message>
- <example type="incorrect">Ar <marker>baourkaezh</marker> den.</example>
- <example type="incorrect">Ar <marker>faourkaezh</marker> den.</example>
- <example type="correct">Ar <marker>paourkaezh</marker> den.</example>
+ <message>Ha fellout a rae deoc’h skrivañ
<suggestion>dra</suggestion>?</message>
+ <example type="incorrect">Un dister <marker>tra</marker>.</example>
+ <example type="correct">Un dister <marker>dra</marker>.</example>
</rule>
+ <rule id="BERR_GOMZOU" name="e berr komzoù → e berr gomzoù">
+ <pattern mark_from="2">
+ <token>e</token>
+ <token>berr</token>
+ <token regexp="yes">(k|c’h)omzoù</token>
+ </pattern>
+ <message>Ha fellout a rae deoc’h skrivañ
<suggestion>gomzoù</suggestion>?</message>
+ <example type="incorrect">E berr <marker>komzoù</marker>.</example>
+ <example type="correct">E berr <marker>gomzoù</marker>.</example>
+ </rule>
</category>
<category name="Ger-mell">
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs