Revision: 7994
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7994&view=rev
Author:   dominikoeo
Date:     2012-09-05 19:09:34 +0000 (Wed, 05 Sep 2012)
Log Message:
-----------
[eo] - detect confusion between "plasta" and "platika".
     - detect *versiono* -> versio

Modified Paths:
--------------
    trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml    
    2012-09-05 18:46:09 UTC (rev 7993)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml    
    2012-09-05 19:09:34 UTC (rev 7994)
@@ -275,6 +275,22 @@
       <example type="incorrect">Ŝi <marker>regardis</marker> lin.</example>
       <example type="correct">Ŝi <marker>rigardis</marker> lin.</example>
     </rule>
+    <rule id="VERSIONO" name="versiono → versio">
+      <pattern>
+        <token inflected="yes" regexp="yes">version[oae]</token>
+      </pattern>
+      <message>La vorto «\1» ŝajnas esti eraro pro influo de nacia lingvo. Ĉu 
vi intencis skribi <suggestion><match no="1" regexp_match="ion" 
regexp_replace="i"/></suggestion>?</message>
+      <example type="incorrect">La nova <marker>versiono</marker> tre 
bonas.</example>
+      <example type="correct">La nova <marker>versio</marker> tre 
bonas.</example>
+    </rule>
+    <rule id="MAGIKA" name="magika → magia">
+      <pattern>
+        <token inflected="yes" regexp="yes">magik[aoe]</token>
+      </pattern>
+      <message>La vorto «\1» ŝajnas esti eraro pro influo de nacia lingvo. Ĉu 
vi intencis skribi <suggestion><match no="1" regexp_match="ik" 
regexp_replace=""/></suggestion>?</message>
+      <example type="incorrect">Estis <marker>magika</marker> 
vespero.</example>
+      <example type="correct">Estis <marker>magia</marker> vespero.</example>
+    </rule>
     <rule id="DIFEKTO" name="defekto → difekto">
       <pattern>
         <token inflected="yes" regexp="yes">de(?:fekt|fin)[aeio]</token>
@@ -345,6 +361,18 @@
         <example type="correct">Maria baldaŭ fariĝos adoltino.</example>
       </rule>
     </rulegroup>
+    <rulegroup id="PLASTA_PLASTIKA" name="plasta kaj plastika">
+      <rule>
+        <pattern>
+          <marker><token inflected="yes">plastika</token></marker>
+          <token inflected="yes" regexp="yes">sako|.*aĵo</token>
+        </pattern>
+        <message>Laŭ la kunteksto, ŝajnas ke vi intencis diri 
<suggestion><match no="1" regexp_match="ik" 
regexp_replace=""/></suggestion>.</message>
+        <example type="incorrect">Ĉu vi havas <marker>plastikan</marker> 
sakon?</example>
+        <example type="correct">Ĉu vi havas plastan sakon?</example>
+        <example type="correct">Li estas plastika kirurgo.</example>
+      </rule>
+    </rulegroup>
   </category>
   <category name="Evitindaĵoj">
     <rule id="NE_JAM" name="ne + jam (ankoraŭ ne)">
@@ -3449,6 +3477,7 @@
         <example type="correct">Li ronkis <marker>la tutan</marker> 
nokton.</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.


------------------------------------------------------------------------------
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
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to