Revision: 9808
http://languagetool.svn.sourceforge.net/languagetool/?rev=9808&view=rev
Author: dominikoeo
Date: 2013-03-28 21:54:14 +0000 (Thu, 28 Mar 2013)
Log Message:
-----------
[eo] fixes to suggestions and more tests of suggestions.
Modified Paths:
--------------
trunk/languagetool/languagetool-language-modules/eo/src/main/resources/org/languagetool/rules/eo/grammar.xml
Modified:
trunk/languagetool/languagetool-language-modules/eo/src/main/resources/org/languagetool/rules/eo/grammar.xml
===================================================================
---
trunk/languagetool/languagetool-language-modules/eo/src/main/resources/org/languagetool/rules/eo/grammar.xml
2013-03-28 21:07:31 UTC (rev 9807)
+++
trunk/languagetool/languagetool-language-modules/eo/src/main/resources/org/languagetool/rules/eo/grammar.xml
2013-03-28 21:54:14 UTC (rev 9808)
@@ -527,7 +527,7 @@
</pattern>
<message>Laŭ Revo, «\1» estas evitinda, uzu <suggestion><match no="1"
regexp_match=".*g(.*)" regexp_replace="voĉleg$1"/></suggestion> aŭ
<suggestion>laŭte <match no="1" regexp_match=".*g(.*)"
regexp_replace="voĉleg$1"/></suggestion>.</message>
<url>http://www.reta-vortaro.de/revo/art/leg.html#leg.lauxt0i</url>
- <example type="incorrect">Li <marker>laŭtlegis</marker> sian
mesaĝon.</example>
+ <example type="incorrect" correction="voĉlegis|laŭte voĉlegis">Li
<marker>laŭtlegis</marker> sian mesaĝon.</example>
<example type="correct">Li voĉlegis sian mesaĝon.</example>
</rule>
<rule id="LERNI" name="lerni">
@@ -590,7 +590,7 @@
</pattern>
<message>Laŭ Revo, «\1» estas evitinda. Uzu <suggestion><match no="1"
regexp_match=".*naza(.*)" regexp_replace="kuspnaza$1"/></suggestion>.</message>
<url>http://www.reta-vortaro.de/revo/art/naz.html#naz.stump0a</url>
- <example type="incorrect">Sokrato estis
<marker>stumpnaza</marker>.</example>
+ <example type="incorrect" correction="kuspnaza">Sokrato estis
<marker>stumpnaza</marker>.</example>
<example type="correct">Sokrato estis kuspnaza.</example>
</rule>
<rule id="PUBLIKA" name="publika (ŝtata)">
@@ -744,9 +744,9 @@
<pattern>
<token
regexp="yes">(?:fi)?(?:ge)?(?:eks)?(?:ĉef)?(?:ar[kĥ]eolog|antropolog|birdolog|egiptolog|ekolog|esperantolog|etnolog|filolog|fiziolog|ideolog|leksikolog|geolog|ginekolog|kancerolog|[kĥ]irurg|onkolog|ornitolog|(?:infano?)psikolog|seksolog|sociolog|te[ĥk]nolog)ist(?:estr)?(?:in)?(?: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> aŭ <suggestion><match no="1"
regexp_match="ist" regexp_replace="iisto"/></suggestion> anstataŭ
«\1».</message>
+ <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> aŭ <suggestion><match no="1"
regexp_match="ist" regexp_replace="iist"/></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="incorrect" correction="kirurgo|kirurgiisto">Li estas
fama <marker>kirurgisto</marker>.</example>
<example type="correct">Li estas fama
<marker>kirurgiisto</marker>.</example>
<example type="correct">Li estas fama
<marker>kirurgo</marker>.</example>
<example type="correct">Oni povas diri «fotografo» aŭ
«fotografisto».</example>
@@ -1009,8 +1009,8 @@
<pattern>
<token inflected="yes" regexp="yes">(?:brul|fajr)o?estingisto</token>
</pattern>
- <message>Laŭ Revo, «\1» estas arkaismo. Uzu <suggestion><match no="1"
regexp_match=".*t(.*)" regexp_replace="fajrobrigradist$1"/></suggestion> aŭ
<suggestion><match no="1" regexp_match=".*t(.*)"
regexp_replace="fajrobrigradan$1"/></suggestion>.</message>
- <example type="incorrect">Li volas fariĝi
<marker>fajroestingisto</marker>.</example>
+ <message>Laŭ Revo, «\1» estas arkaismo. Uzu <suggestion><match no="1"
regexp_match=".*t(.*)" regexp_replace="fajrobrigadist$1"/></suggestion> aŭ
<suggestion><match no="1" regexp_match=".*t(.*)"
regexp_replace="fajrobrigadan$1"/></suggestion>.</message>
+ <example type="incorrect"
correction="fajrobrigadisto|fajrobrigadano">Li volas fariĝi
<marker>fajroestingisto</marker>.</example>
<example type="correct">Li volas fariĝi
<marker>fajrobrigadisto</marker>.</example>
</rule>
<rule>
@@ -1018,7 +1018,7 @@
<token inflected="yes">floraĵo</token>
</pattern>
<message>Laŭ Revo, «\1» estas arkaismo. Uzu <suggestion><match no="1"
regexp_match=".*ĵ(.*)" regexp_replace="flor$1"/></suggestion> aŭ
<suggestion><match no="1" regexp_match=".*ĵ(.*)"
regexp_replace="florar$1"/></suggestion>.</message>
- <example type="incorrect">Li aĉetis
<marker>floraĵojn</marker>.</example>
+ <example type="incorrect" correction="florojn|florarojn">Li aĉetis
<marker>floraĵojn</marker>.</example>
<example type="correct">Li aĉetis <marker>florojn</marker>.</example>
</rule>
<rule>
@@ -1040,14 +1040,6 @@
</rule>
<rule>
<pattern>
- <token inflected="yes">fototelegrafi</token>
- </pattern>
- <message>Laŭ Revo, «\1» estas arkaismo. Uzu <suggestion><match no="1"
regexp_match=".*f(.*)" regexp_replace="faks$1"/></suggestion>.</message>
- <example type="incorrect" correction="faksis">Mi
<marker>fototelegrafis</marker> al li.</example>
- <example type="correct">Mi <marker>faksis</marker> al li.</example>
- </rule>
- <rule>
- <pattern>
<token inflected="yes">fruntaĵo</token>
</pattern>
<message>Laŭ Revo, «\1» estas arkaismo. Uzu <suggestion><match no="1"
regexp_match=".*ĵ(.*)" regexp_replace="fronton$1"/></suggestion>.</message>
@@ -1574,7 +1566,7 @@
</pattern>
<message>Ĉu vi intencis skribi <suggestion>\1-\2</suggestion> kun
streketo?</message>
<url>http://eo.lernu.net/lernado/gramatiko/demandoj/oe-cxi1.php</url>
- <example type="incorrect">Mi vojaĝos <marker>ĉi jare</marker>.</example>
+ <example type="incorrect" correction="ĉi-jare">Mi vojaĝos <marker>ĉi
jare</marker>.</example>
<example type="correct">Mi vojaĝos ĉi-jare.</example>
<example type="correct">Ĉu tiu ĉi vere okazis?</example>
<example type="correct">Mi loĝas ĉi tie.</example>
@@ -1584,7 +1576,7 @@
<token regexp="yes">ĉi-.*oj?n?</token>
</pattern>
<message>Ĉu vi intencis skribi <suggestion><match no="1"
regexp_match="(..)-(.*o)(j?n?)" regexp_replace="$1 $2$3"/></suggestion> aŭ
<suggestion><match no="1" regexp_match="(..)-(.*o)(j?n?)" regexp_replace="$1
tiu$3 $2$3"/></suggestion>?</message>
- <example type="incorrect">Mi ŝatis <marker>ĉi-libron</marker>.</example>
+ <example type="incorrect" correction="ĉi libron|ĉi tiun libron">Mi ŝatis
<marker>ĉi-libron</marker>.</example>
<example type="correct">Mi ŝatis ĉi libron.</example>
<example type="correct">Mi ŝatis ĉi tiun libron.</example>
</rule>
@@ -1683,13 +1675,13 @@
</rule>
<rule id="PRO_VINF" name="pro + verbo inf">
<pattern>
- <token>pro</token>
+ <marker><token>pro</token></marker>
<token postag="V .. i" postag_regexp="yes"/>
</pattern>
- <message>Post «\1» ne povas esti infinitiva verbo. Ĉu vi intencis skribi
<suggestion>por \2</suggestion>?</message>
+ <message>Post «\1» ne povas esti infinitiva verbo. Ĉu vi intencis skribi
<suggestion>por</suggestion>?</message>
<url>http://www.esperanto.mv.ru/Seppik/lec15.html#114</url>
- <example type="incorrect">Mi studas <marker>pro
sukcesi</marker>.</example>
- <example type="correct">Mi studas <marker>por sukcesi</marker>.</example>
+ <example type="incorrect" correction="por">Mi studas
<marker>pro</marker> sukcesi.</example>
+ <example type="correct">Mi studas <marker>por</marker> sukcesi.</example>
</rule>
<rule id="AMBAUX_SING" name="ambaŭ + sing">
<pattern>
@@ -1974,8 +1966,8 @@
<token postag="R akz .*" postag_regexp="yes"/>
</marker>
</pattern>
- <message>Ne eblas diri «\1 \2». Ĉu vi intencis <suggestion>\1 al <match
no="2" regexp_match="(.*)n(j?)" regexp_replace="$1$2"/></suggestion>?</message>
- <example type="incorrect">Donu akvon <marker>min</marker>.</example>
+ <message>Ne eblas uzi du akuzativojn. Ĉu vi intencis <suggestion>al
<match no="2" regexp_match="(.*)n(j?)"
regexp_replace="$1$2"/></suggestion>?</message>
+ <example type="incorrect" correction="al mi">Donu akvon
<marker>min</marker>.</example>
<example type="correct">Donu akvon al mi.</example>
</rule>
<rulegroup id="NEKONG_NOMBR" name="nekongruaj nombroj">
@@ -2560,6 +2552,7 @@
<token postag="V .*" postag_regexp="yes"/>
</pattern>
<message>Inter «\1» kaj verbo «\2», oni devas meti «ol».</message>
+ <suggestion>\1 ol \2</suggestion>
<url>http://bertilow.com/pmeg/gramatiko/i-verboj/kun_rolvortetoj.html#i-8ik</url>
<example type="incorrect">Ne manĝu <marker>antaŭ naĝi</marker>.</example>
<example type="correct">Mi manĝu antaŭ ol naĝi.</example>
@@ -2813,7 +2806,7 @@
</pattern>
<message>Oni preskaŭ ĉiam uzas la verbon «\2» kun akuzativo. Ĉu vi
intencis <suggestion><match no="2" regexp_match="(([aiou]s)|[iu])$"
regexp_replace="iĝ$1"/></suggestion>?</message>
<example type="incorrect" correction="komenciĝos">La filmo
<marker>komencos</marker> baldaŭ.</example>
- <example type="incorrect">Ĝi <marker>komencos</marker>
baldaŭ.</example>
+ <example type="incorrect" correction="komenciĝos">Ĝi
<marker>komencos</marker> baldaŭ.</example>
<example type="correct">La filmo komenciĝos baldaŭ.</example>
<example type="correct">Ĝi komenciĝos baldaŭ.</example>
<example type="correct">Mi komencos baldaŭ.</example>
@@ -3083,7 +3076,7 @@
<token>ol</token>
</pattern>
<message>Uzu <suggestion>\1</suggestion> (sen «ol»).</message>
- <example type="incorrect">Li rezignis <marker>anstataŭ ol</marker> lerni
la lingvon.</example>
+ <example type="incorrect" correction="anstataŭ">Li rezignis
<marker>anstataŭ ol</marker> lerni la lingvon.</example>
<example type="correct">Li rezignis anstataŭ lerni la lingvon.</example>
</rule>
<rulegroup id="ESTONTECO" name="estonteco">
@@ -3418,7 +3411,7 @@
<token spacebefore="yes">malpli</token>
</pattern>
<message>Oni plej ofte skribas <suggestion>\1-\2</suggestion>.</message>
- <example type="incorrect">Mi scipovas Esperanton ekde <marker>pli
malpli</marker> du jaroj.</example>
+ <example type="incorrect" correction="pli-malpli">Mi scipovas Esperanton
ekde <marker>pli malpli</marker> du jaroj.</example>
<example type="correct">Mi scipovas Esperanton ekde pli-malpli du
jaroj.</example>
</rule>
<rulegroup id="DUOBLA_NEADO" name="duobla neado">
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits