Hi
I have just started to use the <url>...</url> feature in the Esperanto
grammar in this checkin in SVN:
================================================
r7078 | dominikoeo | 2012-05-27 10:59:18 +0200 (Sun, 27 May 2012) | 4 lines
[eo] started to add links using <url>...</url> (more to come)
to the Esperanto grammar PMEG (Plena Manlibro de Esperanta
Gramatiko) with permission of its author Bertilo Wennergren.
================================================
For example, I use it in this rule in rules/eo/grammar.xml:
<rule id="*LA_MIA*" name="La + a-pronomo">
<pattern>
<marker>
<token>la</token>
<token regexp="yes">([mcvlŝĝn]|il)iaj?n?</token>
</marker>
<token postag="[OA] .*" postag_regexp="yes"></token>
</pattern>
<message>«\1» ne povas stari kune kun pronomo «\2».</message>
<url>
http://bertilow.com/pmeg/gramatiko/difiniloj/la/bazaj_reguloj.html#i-bgj</url>
<example type="incorrect"><marker>La mia</marker> aŭto estas
ruĝa.</example>
<example type="correct">Mia aŭto estas ruĝa.</example>
<example type="correct">Via deziro estas la mia.</example>
</rule>
However, when I use LanguageTool in the command line, I don't see
anything about the URL information:
$ *echo "La mia aŭto estas ruĝa." | \
java -jar languagetool/dist/LanguageTool.jar -l eo -v --api*
270 rules activated for language Esperanto
<S> La[la/D] mia[mia/A nak np] aŭto[aŭto/O nak np] estas[esti/V nt as]
ruĝa[ruĝa/A nak np].[</S>]<P/>
<?xml version="1.0" encoding="UTF-8"?>
<matches>
<error fromy="0" fromx="0" toy="0" tox="7" ruleId="*LA_MIA*" subId="1"
msg="«La» ne povas stari kune kun pronomo
«mia»." replacements="" context="La mia aŭto estas ruĝa. "
contextoffset="0" errorlength="6"/>
The <url>...</url> information is ignored. So it seems that I cannot
display the URL in my LanguageTool Vim plugin.
Am I missing something or was adding the URL information forgotten
in the command line?
I'm hoping that it can be added since the <url> tag is a nice new feature.
Regards
-- Dominique
------------------------------------------------------------------------------
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-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel