Revision: 8450
http://languagetool.svn.sourceforge.net/languagetool/?rev=8450&view=rev
Author: dominikoeo
Date: 2012-11-25 16:34:32 +0000 (Sun, 25 Nov 2012)
Log Message:
-----------
[eo] fixed a false positive.
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-11-25 11:03:36 UTC (rev 8449)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/eo/grammar.xml
2012-11-25 16:34:32 UTC (rev 8450)
@@ -1710,7 +1710,7 @@
<marker>
<token postag="[OA] akz.*|T akz .*[uoa]" postag_regexp="yes">
<exception inflected="yes"
regexp="yes">(?:duono?)?(?:jarcent|jardek|jar|somer|vintr|printemp|aŭtun|sezon|monat|semajn|tag|maten|vesper|(?:post?)tagmez|nokt|hor|minut|sekund|moment|.*metr|mejl|marmejl|fut|col|paŝ|lund|mard|merkred|ĵaŭd|vendred|sabat|dimanĉ|foj|temp|.*gram|funt|tun)o?(?:fin)?(e[tg])?o</exception>
- <exception regexp="yes">(?:[0-9]+-?an)|(?:\p{Lu}.*)</exception>
+ <exception regexp="yes">(?:\d+-?an)|(?:\p{Lu}.*)</exception>
<exception postag="T akz .. k .*" postag_regexp="yes"/>
</token>
</marker>
@@ -2858,12 +2858,13 @@
<token>al</token>
<token/>
<marker>
- <token inflected="yes"
regexp="yes">(?:mal|ne)?ŝat(?:et|eg)?i</token>
+ <token inflected="yes" regexp="yes" postag="V .*"
postag_regexp="yes">(?:mal|ne)?ŝat(?:et|eg)?i</token>
</marker>
</pattern>
<message>La prepozicio «al» ne povas stari kun la verbo «\3». Ĉu vi
intencis uzi la verbon <suggestion><match no="3" regexp_match="ŝat"
regexp_replace="plaĉ"/></suggestion>?</message>
<example type="incorrect">Al mi <marker>ŝatas</marker>
sportumi.</example>
<example type="correct">Al mi <marker>plaĉas</marker>
sportumi.</example>
+ <example type="correct">Mi deziras al ĉiuj ŝatantoj de Esperanto
feliĉan jaron.</example>
</rule>
<rule>
<pattern>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits