Revision: 6831
http://languagetool.svn.sourceforge.net/languagetool/?rev=6831&view=rev
Author: dominikoeo
Date: 2012-05-06 08:52:30 +0000 (Sun, 06 May 2012)
Log Message:
-----------
[br] fixed false positives in:
- Gwelet em eus paot mat a dud eno.
- A unan da unan.
- Ken ar c'henta?\195?\177 mignoned.
Modified Paths:
--------------
trunk/JLanguageTool/src/resource/br/disambiguation.xml
trunk/JLanguageTool/src/rules/br/grammar.xml
Modified: trunk/JLanguageTool/src/resource/br/disambiguation.xml
===================================================================
--- trunk/JLanguageTool/src/resource/br/disambiguation.xml 2012-05-05
21:07:07 UTC (rev 6830)
+++ trunk/JLanguageTool/src/resource/br/disambiguation.xml 2012-05-06
08:52:30 UTC (rev 6831)
@@ -247,4 +247,21 @@
</pattern>
<disambig action="filter" postag="J"/>
</rule>
+ <rule id="CHENTAN" name="c'hentañ">
+ <pattern mark="2">
+ <token>ken</token>
+ <token>ar</token>
+ <token>c’hentañ</token>
+ </pattern>
+ <disambig action="filter" postag="J.*"/>
+ </rule>
+ <rule id="A_UNAN_DA_UNAN" name="a unan da unan">
+ <pattern mark="3">
+ <token>a</token>
+ <token>unan</token>
+ <token>da</token>
+ <token>unan</token>
+ </pattern>
+ <disambig postag="X A_UNAN_DA_UNAN"/>
+ </rule>
</rules>
Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/br/grammar.xml 2012-05-05 21:07:07 UTC
(rev 6830)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml 2012-05-06 08:52:30 UTC
(rev 6831)
@@ -1803,6 +1803,7 @@
<example type="incorrect">Ur gevredigezh
<marker>gouiziek</marker>.</example>
<example type="correct">Ur gevredigezh ouiziek.</example>
<example type="correct">Ur gouel bras.</example>
+ <example type="correct">Gwelet em eus <marker>paot mat</marker> a dud
eno.</example>
</rule>
<rule>
<pattern mark_from="1" mark_to="-1">
@@ -3050,13 +3051,16 @@
<rule>
<pattern>
<token regexp="yes">ma|da|e|he|hec’h|hon|hoc’h|o</token>
- <token regexp="yes">unan(i[gk])?(-penn)?</token>
+ <token regexp="yes">unan(i[gk])?(-penn)?
+ <exception postag="X A_UNAN_DA_UNAN"/>
+ </token>
</pattern>
<message>Implijit <suggestion>\1-\2</suggestion>.</message>
<example type="incorrect">Desket em eus <marker>ma
unan</marker>.</example>
<example type="incorrect">Desket em eus <marker>ma
unan-penn</marker>.</example>
<example type="correct">Desket em eus
<marker>ma-unan</marker>.</example>
<example type="correct">Desket em eus
<marker>ma-unan-penn</marker>.</example>
+ <example type="correct">A unan da unan.</example>
</rule>
<rule>
<pattern>
@@ -4104,6 +4108,7 @@
<example type="correct">Daou baotr</example>
<example type="correct">Gant yezhadurourien</example>
<example type="correct">Daou geloù</example>
+ <example type="correct">Ken ar c’hentañ mignoned.</example>
</rule>
<rule>
<pattern mark_from="1">
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