Revision: 8595
http://languagetool.svn.sourceforge.net/languagetool/?rev=8595&view=rev
Author: dominikoeo
Date: 2012-12-19 21:15:33 +0000 (Wed, 19 Dec 2012)
Log Message:
-----------
[br] - fixed false positive in "Daou tsar"
- fixed false positive in "Ar tcheked"
- new rule to detect error in:
*Sellit na kaer eo!* -> Sellit na pegen kaer eo! (CHALM V2.2.4)
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-19 19:16:48 UTC (rev 8594)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/br/grammar.xml
2012-12-19 21:15:33 UTC (rev 8595)
@@ -295,7 +295,7 @@
<token regexp="yes">[tz].*
<exception postag="Z.*" postag_regexp="yes"/>
<exception regexp="yes" inflected="yes">(?!den$)d.*</exception>
- <exception regexp="yes">te|zo</exception>
+ <exception regexp="yes">te|zo|tsar</exception>
<exception regexp="yes" inflected="yes">z.*</exception>
</token>
</and>
@@ -2654,7 +2654,7 @@
</marker>
<token regexp="yes">[ndthaeiou].*
<exception inflected="yes" regexp="yes">gou[ei].*</exception>
- <exception regexp="yes">ts.*</exception>
+ <exception regexp="yes">ts.*|tch.*</exception>
<exception postag="K e sp o"/>
</token>
</pattern>
@@ -2665,6 +2665,7 @@
<example type="correct">Ur ouiziegezh</example>
<example type="correct">Ur tsunami</example>
<example type="correct">Lec’hiet <marker>er</marker> IVvet kantved goude
J.K.</example>
+ <example type="correct">Ar tcheked a zo ur yezh indezeuropek.</example>
</rule>
<rulegroup id="AR" name="ger ar, ur, er, hor">
<rule>
@@ -5163,6 +5164,18 @@
<example type="incorrect"><marker>Pegen</marker> den!</example>
<example type="correct">Pegen brav!</example>
</rule>
+ <rule id="V_VIMP_NA" name="Sellit na kaer → Sellit na pegen kaer">
+ <pattern>
+ <token postag="SENT_START"/>
+ <token postag="V impe .*" postag_regexp="yes"/>
+ <marker><token>na</token></marker>
+ <token postag="J"/>
+ </pattern>
+ <message>Implijit <suggestion>pegen</suggestion> pe <suggestion>na
pegen</suggestion> goude an doare gourc’hemenn «\2». (CHALM V2.2.4)</message>
+ <example type="incorrect">Sellit <marker>na</marker> kaer eo!</example>
+ <example type="correct">Sellit na pegen kaer eo!</example>
+ <example type="correct">Sellit pegen kaer eo!</example>
+ </rule>
<rule id="PENLIZH_MIZ" name="Pennlizherennoù evit ar mizioù">
<pattern case_sensitive="yes">
<token inflected="yes">miz</token>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits