Revision: 8886
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8886&view=rev
Author:   dominikoeo
Date:     2013-01-06 00:29:05 +0000 (Sun, 06 Jan 2013)
Log Message:
-----------
[eo] detect abuse of the suffix -ist as in:
     kirurgisto -> kirurgo
     See PMEG for more information:
     http://bertilow.com/pmeg/vortfarado/afiksoj/sufiksoj/ist.html#i-8e1

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    
    2013-01-05 23:13:27 UTC (rev 8885)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml    
    2013-01-06 00:29:05 UTC (rev 8886)
@@ -726,6 +726,29 @@
         <example type="correct">Ŝi kun li <marker>edziniĝis</marker>.</example>
       </rule>
     </rulegroup>
+    <rule id="SEMI" name="semi → duon">
+      <pattern>
+        <token regexp="yes">semi..+
+          <exception regexp="yes">seminari.*|semin?t?aj?n?</exception>
+        </token>
+      </pattern>
+      <message>La prefikso «semi-» estas superflua en Esperanto, kaj foje 
uzata pro influo de nacia lingvo. Oni anstataŭ uzas la prefikson «duon-». Ĉu vi 
volas skribi <match no="1" regexp_match="^...." 
regexp_replace="duon"/>?</message>
+      
<url>http://bertilow.com/pmeg/vortfarado/neoficialaj_afiksoj/prefiksoj/semi.html</url>
+      <example type="incorrect">Tio estas 
<marker>semicirklo</marker>.</example>
+      <example type="correct">Tio estas <marker>duoncirklo</marker>.</example>
+      <example type="correct">Mi iris al <marker>seminario</marker>.</example>
+      <example type="correct">Ne ĉiam rikoltas tiu, kiu semis.</example>
+    </rule>
+    <rule id="isto" name="kirurgisto → kirurgo (ktp)">
+      <pattern>
+        <token 
regexp="yes">(?:fi)?(?:kirurg|astronom|ekolog|diplomat|geolog|geograf|gimnast|ŝofor|barbir|student|kelner|aktor|mim|general|soldat|kurator|profesor)ist(?:aĉ)?oj?n?</token>
+      </pattern>
+      <message>Oni ne uzas la sufikson «-ist» en tiuj vortoj, kiuj jam montras 
personon. Oni devas skribi <suggestion><match no="1" regexp_match="ist" 
regexp_replace=""/></suggestion> anstataŭ «\1».</message>
+      
<url>http://bertilow.com/pmeg/vortfarado/afiksoj/sufiksoj/ist.html#i-8e1</url>
+      <example type="incorrect">Li estas fama 
<marker>kirurgisto</marker>.</example>
+      <example type="correct">Li estas fama <marker>kirurgo</marker>.</example>
+      <example type="correct">Oni povas diri «fotografo» aŭ 
«fotografisto».</example>
+    </rule>
   </category>
   <category name="Arkaismoj">
     <rulegroup id="ARKAISMO" name="arkaismo">

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to