Revision: 8735
http://languagetool.svn.sourceforge.net/languagetool/?rev=8735&view=rev
Author: dominikoeo
Date: 2012-12-30 23:11:10 +0000 (Sun, 30 Dec 2012)
Log Message:
-----------
[eo] - added 2 more arkaisms (found in PIV-2005)
- detect error multekara -> multekosta
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-12-30 23:08:38 UTC (rev 8734)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml
2012-12-30 23:11:10 UTC (rev 8735)
@@ -256,6 +256,14 @@
<example type="correct">Aerpoluo en la urboj malsanigas la
homojn.</example>
</rule>
</rulegroup>
+ <rule id="MULTEKARA" name="multekara → multekosta">
+ <pattern>
+ <token regexp="yes">(?:mal)?multekar(?:eg)?aj?n?</token>
+ </pattern>
+ <message>Uzo de «\1» estas verŝajne eraro pro influo de nacialingvo. Ĉu
vi intencis skribi <suggestion><match no="1" regexp_match="kar"
regexp_replace="kost"/></suggestion>?</message>
+ <example type="incorrect">Tiuj aŭtoj estas
<marker>multekaraj</marker>.</example>
+ <example type="correct">Tiuj aŭtoj estas multekostaj.</example>
+ </rule>
<rule id="REGARDI" name="regardi kaj rigardi">
<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>
@@ -680,6 +688,22 @@
</rule>
<rule>
<pattern>
+ <token inflected="yes">abatiso</token>
+ </pattern>
+ <message>Laŭ PIV-2005, «\1» estas arkaismo. Konsideru uzi
<suggestion><match no="1" regexp_match="(abatis)(.*)"
regexp_replace="arbobaraĵ$2"/></suggestion>.</message>
+ <example type="incorrect">Ili faris
<marker>abatison</marker>.</example>
+ <example type="correct">Ili faris
<marker>arbobaraĵon</marker>.</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token inflected="yes">fibero</token>
+ </pattern>
+ <message>Laŭ PIV-2005, «\1» estas arkaismo. Konsideru uzi
<suggestion><match no="1" regexp_match="(.*)(r.*)"
regexp_replace="ondat$2"/></suggestion>.</message>
+ <example type="incorrect">Jen <marker>fiberoj</marker>.</example>
+ <example type="correct">Jen <marker>ondatroj</marker>.</example>
+ </rule>
+ <rule>
+ <pattern>
<token inflected="yes">abaĵuro</token>
</pattern>
<message>Laŭ Revo, «\1» estas arkaismo. Uzu <suggestion><match no="1"
regexp_match=".*o(.*)" regexp_replace="lumŝirmilo$1"/></suggestion>.</message>
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