Revision: 9784
http://languagetool.svn.sourceforge.net/languagetool/?rev=9784&view=rev
Author: dominikoeo
Date: 2013-03-25 21:07:27 +0000 (Mon, 25 Mar 2013)
Log Message:
-----------
[br] - updated Breton dictionary from Apertium r43173
to fix several false errors.
- updated to script that creates Breton dictionary.
- fixed typos in messages.
Revision Links:
--------------
http://languagetool.svn.sourceforge.net/languagetool/?rev=43173&view=rev
Modified Paths:
--------------
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/breton.dict
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/create-lexicon.pl
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
Modified:
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/breton.dict
===================================================================
(Binary files differ)
Modified:
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/create-lexicon.pl
===================================================================
---
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/create-lexicon.pl
2013-03-25 19:34:14 UTC (rev 9783)
+++
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/resource/br/create-lexicon.pl
2013-03-25 21:07:27 UTC (rev 9784)
@@ -1512,6 +1512,7 @@
"rektorion",
"renerien",
"renerion",
+ "republikaned",
"repuidi",
"reveulzierien",
"reveulzierion",
@@ -2033,7 +2034,6 @@
($lemma eq 'breserezh' and $word =~ /^[bpv]reserezh(ioù)?$/) or
($lemma eq 'bruched' and $word =~ /^[bpv]vruched(où)?$/) or
($lemma eq 'brud' and $word =~ /^[bpv]brud$/) or
- ($lemma eq 'kammed' and $word =~ /^([kg]|c’h)ammed(où)?$/) or
($lemma eq 'kurun' and $word =~ /^([kg]|c’h)urun(où)?$/) or
($lemma eq 'ment' and $word =~ /^[mv]ent$/) or
($lemma eq 'siminal' and $word =~ /^siminal(ioù)?$/) or
@@ -2155,6 +2155,10 @@
print OUT "kiz\tkiz\tN f s\n";
print OUT "c’hiz\tkiz\tN f s M:0a:2:\n";
print OUT "giz\tkiz\tN f s M:1:1a:\n";
+print OUT "vaerioù\tmaer\tN m p M:1:1a:1b:4:\n";
+print OUT "maerioù\tmaer\tN m p\n";
+print OUT "vestroù\tmestr\tN m p M:1:1a:1b:4:\n";
+print OUT "mestroù\tmestr\tN m p\n";
print "Lemma words missing from dictionary:\n";
foreach (sort keys %all_lemmas) { print "$_\n" unless exists $all_words{$_}; }
Modified:
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
===================================================================
---
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
2013-03-25 19:34:14 UTC (rev 9783)
+++
trunk/languagetool/languagetool-language-modules/br/src/main/resources/org/languagetool/rules/br/grammar.xml
2013-03-25 21:07:27 UTC (rev 9784)
@@ -2158,12 +2158,14 @@
</and>
</marker>
</pattern>
- <message>Ne zlefe ket bezañ a gemmadur er ger «\2» amañ. Ha fellout a
rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^."
regexp_replace="t"/></suggestion>?</message>
+ <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2» goude ar
ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="^." regexp_replace="t"/></suggestion>?</message>
<example type="incorrect" correction="tadoù">An
<marker>dadoù</marker></example>
<example type="incorrect" correction="tadoù">Ar
<marker>zadoù</marker></example>
<example type="correct">An tadoù</example>
<example type="correct">An dorioù</example>
<example type="correct">An dourioù lous.</example>
+ <example type="incorrect" correction="testoù">An
<marker>destoù</marker></example>
+ <example type="correct">An <marker>testoù</marker></example>
</rule>
<rule>
<pattern>
@@ -2178,7 +2180,7 @@
</and>
</marker>
</pattern>
- <message>Ne zlefe ket bezañ a gemmadur dre vlotaat er ger «\2» amañ.
Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^."
regexp_replace="p"/></suggestion>?</message>
+ <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2» goude ar
ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="^." regexp_replace="p"/></suggestion>?</message>
<example type="incorrect" correction="privezioù">Ar
<marker>brivezioù</marker></example>
<example type="incorrect" correction="privezioù">Ar
<marker>frivezioù</marker></example>
<example type="correct">Ar privezioù</example>
@@ -2186,6 +2188,9 @@
<example type="correct">Ar bodadoù</example>
<example type="correct">Ar baotredigoù.</example>
<example type="correct">Ar baotredoù.</example>
+ <example type="incorrect" correction="priedoù">Ar
<marker>briedoù</marker>.</example>
+ <example type="incorrect" correction="priedoù">Ar
<marker>friedoù</marker>.</example>
+ <example type="correct">Ar priedoù.</example>
</rule>
<rule>
<pattern>
@@ -2197,7 +2202,7 @@
</and>
</marker>
</pattern>
- <message>Ne zlefe ket bezañ a gemmadur dre vlotaat er ger «\2» amañ.
Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^."
regexp_replace="c’h"/></suggestion>?</message>
+ <message>Ne zlefe ket bezañ ur c’hemmadur dre vlotaat er ger «\2»
goude ar ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
<example type="incorrect" correction="c’hoadoù">Ar
<marker>goadoù</marker></example>
<example type="correct">Ar c’hoadoù</example>
</rule>
@@ -2211,9 +2216,13 @@
</and>
</marker>
</pattern>
- <message>Ne zlefe ket bezañ a gemmadur dre vlotaat gant ar ger «\2»
amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="^." regexp_replace="m"/></suggestion>?</message>
+ <message>Ne zlefe ket bezañ ur c’hemmadur dre vlotaat gant ar ger «\2»
goude ar gar-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="^." regexp_replace="m"/></suggestion>?</message>
<example type="incorrect" correction="melezourioù">Ar
<marker>velezourioù</marker></example>
<example type="correct">Ar melezourioù</example>
+ <example type="incorrect" correction="maerioù">Ar
<marker>vaerioù</marker>.</example>
+ <example type="correct">Ar <marker>maerioù</marker>.</example>
+ <example type="incorrect" correction="mestroù">Ar
<marker>vestroù</marker>.</example>
+ <example type="correct">Ar <marker>mestroù</marker>.</example>
</rule>
<rule>
<pattern>
@@ -2225,7 +2234,7 @@
</and>
</marker>
</pattern>
- <message>Ne zlefe ket bezañ a gemmadur dre vlotaat gant ar ger «\2»
amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="^" regexp_replace="g"/></suggestion>?</message>
+ <message>Ne zlefe ket bezañ a c’hemmadur dre vlotaat gant ar ger «\2»
goude ar ger mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2"
regexp_match="^" regexp_replace="g"/></suggestion>?</message>
<example type="incorrect" correction="gweleoù">Ar
<marker>weleoù</marker></example>
<example type="correct">Ar gweleoù</example>
</rule>
@@ -2278,10 +2287,10 @@
</marker>
</pattern>
<message>Ne zlefe ket bezañ ur c’hemmadur dre vlotaat amañ.</message>
- <example type="incorrect">Pemp <marker>c'hi</marker>.</example>
+ <example type="incorrect">Pemp <marker>c’hi</marker>.</example>
<example type="incorrect">Pemp <marker>gi</marker>.</example>
<example type="correct">Pemp <marker>ki</marker>.</example>
- <example type="correct">Tri <marker>c'hi</marker>.</example>
+ <example type="correct">Tri <marker>c’hi</marker>.</example>
<example type="correct">Daou <marker>gi</marker>.</example>
<example type="correct">Div, unan <marker>vihan</marker>, hag unan
<marker>vras</marker>.</example>
</rule>
@@ -2551,7 +2560,7 @@
<example type="incorrect" correction="varvailhan">Alies e
<marker>marvailhan</marker> ur pennadig gant an amezeg.</example>
<example type="correct">Alies e <marker>varvailhan</marker> ur
pennadig an amezeg.</example>
<example type="correct">E 2005 e oa 13.518.000 a dud o vevañ e
<marker>Mali</marker>.</example>
- <example type="correct">Arveret e vez e muioc'h eget 24 yezh.</example>
+ <example type="correct">Arveret e vez e muioc’h eget 24 yezh.</example>
</rule>
</rulegroup>
@@ -4168,7 +4177,7 @@
<example type="correct">Ez an da gousket.</example>
</rule>
</rulegroup>
- <rulegroup id="NACH" name="An nac‘hañ">
+ <rulegroup id="NACH" name="An nac’hañ">
<rule>
<pattern>
<token postag="SENT_START"/>
@@ -4184,8 +4193,8 @@
<example type="incorrect">Ma zud ne <marker>bren</marker> ket ar
gazetenn.</example>
<example type="correct">Ma zud ne brenont ket ar gazetenn.</example>
<example type="correct">Ma zud ne brenent ket ar gazetenn.</example>
- <example type="incorrect">Ma c’hoarezed n’<marker>emañ</marker> ket o
c‘hoari.</example>
- <example type="correct">Ma c’hoarezed n’emaint ket o c‘hoari.</example>
+ <example type="incorrect">Ma c’hoarezed n’<marker>emañ</marker> ket o
c’hoari.</example>
+ <example type="correct">Ma c’hoarezed n’emaint ket o c’hoari.</example>
</rule>
</rulegroup>
</category>
@@ -5772,7 +5781,7 @@
<message>«\1» a lakaer dirak un anv-gwan pe un adverb. Ha fellout a rae
deoc’h skrivañ <suggestion><match no="1" regexp_match="(.).*"
regexp_replace="$1ebezh"/></suggestion>? (CHALM G2)</message>
<example type="incorrect"><marker>Pegen</marker> paotr!</example>
<example type="correct">Pegen brav!</example>
- <example type="correct">Pegen nec‘het e oan.</example>
+ <example type="correct">Pegen nec’het e oan.</example>
</rule>
<rule id="V_VIMP_NA" name="Sellit na kaer → Sellit na pegen kaer">
<pattern>
@@ -7717,7 +7726,7 @@
<pattern>
<token regexp="yes">gwe[cz]hall?-?[kg]ozh?<exception
regexp="yes">gwe[cz]hall-gozh</exception></token>
</pattern>
- <message>Ha fellout a rae deoc'h skrivañ <suggestion><match no="1"
regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
+ <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1"
regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
<example type="incorrect"
correction="Gwechall-gozh"><marker>Gwechall-kozh</marker>.</example>
<example type="incorrect"
correction="Gwezhall-gozh"><marker>Gwezhall-kozh</marker>.</example>
<example type="correct"><marker>Gwechall-gozh</marker>.</example>
@@ -7728,7 +7737,7 @@
<token regexp="yes">gwe[cz]hall?</token>
<token regexp="yes">[gk]ozh?</token>
</pattern>
- <message>Ha fellout a rae deoc'h skrivañ <suggestion><match no="1"
regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
+ <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1"
regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
<example type="incorrect" correction="Gwechall-gozh"><marker>Gwechall
kozh</marker>.</example>
<example type="incorrect" correction="Gwezhall-gozh"><marker>Gwezhall
kozh</marker>.</example>
<example type="correct"><marker>Gwechall-gozh</marker>.</example>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits