Revision: 7866
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7866&view=rev
Author:   dominikoeo
Date:     2012-08-15 18:59:01 +0000 (Wed, 15 Aug 2012)
Log Message:
-----------
[eo] detect errors influenced by other languages
     *defekto* -> "difekto", etc.

Modified Paths:
--------------
    trunk/JLanguageTool/src/rules/eo/grammar.xml

Modified: trunk/JLanguageTool/src/rules/eo/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/eo/grammar.xml        2012-08-15 18:57:32 UTC 
(rev 7865)
+++ trunk/JLanguageTool/src/rules/eo/grammar.xml        2012-08-15 18:59:01 UTC 
(rev 7866)
@@ -271,10 +271,26 @@
       <pattern>
         <token inflected="yes" 
regexp="yes">re(bel|cel|cev|fuĝ|fuz|gard|kolt|laks|lati|mark|mors|par|pet|poz|proĉ|verenc|volu)(ad|et|eg|aĉ)?[aeio]</token>
       </pattern>
-      <message>Uzo de «\1» estas sufiĉe neverŝajna. Ĉu vi intencis skribi 
<suggestion><match no="1" regexp_match="(.).(.*)" 
regexp_replace="$1i$2"/></suggestion>.</message>
+      <message>Uzo de «\1» estas sufiĉe neverŝajna. Ĉu vi intencis skribi 
<suggestion><match no="1" regexp_match="(.).(.*)" 
regexp_replace="$1i$2"/></suggestion>?</message>
       <example type="incorrect">Ŝi <marker>regardis</marker> lin.</example>
       <example type="correct">Ŝi <marker>rigardis</marker> lin.</example>
     </rule>
+    <rule id="DIFEKTO" name="defekto → difekto">
+      <pattern>
+        <token inflected="yes" regexp="yes">de(fekt|fin)[aeio]</token>
+      </pattern>
+      <message>La vorto «\1» ŝajnas esti eraro pro influo de nacia lingvo. Ĉu 
vi intencis skribi <suggestion><match no="1" regexp_match="(.).(.*)" 
regexp_replace="$1i$2"/></suggestion>?</message>
+      <example type="incorrect">Mi havas neniu 
<marker>defektojn</marker>.</example>
+      <example type="correct">Mi havas neniu 
<marker>difektojn</marker>.</example>
+    </rule>
+    <rule id="ENLOGANTO" name="enloĝanto → loĝanto">
+      <pattern>
+        <token inflected="yes">enloĝanto</token>
+      </pattern>
+      <message>La vorto «\1» ŝajnas esti eraro pro influo de nacia lingvo. Ĉu 
vi intencis skribi <suggestion><match no="1" regexp_match="..(.*)" 
regexp_replace="$1"/></suggestion>?</message>
+      <example type="incorrect">La <marker>enloĝantoj</marker>.</example>
+      <example type="correct">La <marker>loĝantoj</marker>.</example>
+    </rule>
     <rulegroup id="ADULTO_ADOLTO" name="adulto kaj adolto">
       <rule>
         <pattern>
@@ -3246,6 +3262,15 @@
       <example type="correct">Mi preferas vojaĝi per trajno ol per 
aviadilo.</example>
       <example type="correct">Danke al ĉirkaŭ 2 miliardoj da dolaroj</example>
     </rule>
+    <rule id="UNUN" name="navalida vorto unun">
+      <pattern>
+        <token>unun</token>
+      </pattern>
+      <message>La vorto unu ne povas ricevi akuzativon.</message>
+      
<url>http://bertilow.com/pmeg/gramatiko/nombroj/vortetoj/unu_specialaj_uzoj.html#i-7hj</url>
+      <example type="incorrect">Mi aĉetis <marker>unun</marker> 
panon.</example>
+      <example type="correct">Mi aĉetis <marker>unu</marker> panon.</example>
+    </rule>
     <rule id="TIOJ" name="navalidaj vortoj tioj, kioj, ktp.">
       <pattern>
         <token postag="T ... pl . o" postag_regexp="yes"/>

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