Hi

Searching for >> in grammar.xml files, I see things that
 are wrong, or at least suspicious:

$ ack-grep --xml '>>' languagetool-language-modules/*/src

languagetool-language-modules/de/src/main/resources/org/languagetool/rules/de/grammar.xml
25390:                <token negate="yes">></token>
25400:                <token>></token>
25423:                <token negate="yes">></token>

languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/grammar.xml
10243:                <marker>><token postag="CD"/>

languagetool-language-modules/ru/src/main/resources/org/languagetool/rules/ru/grammar.xml
935:            <!--Перед сравнительным оборотом стоит "не" или слова:
совсем, совершенно, почти, именно  ->> запятая не ставится.


I'm surprised that tests did not pick up automatically
the >> inside the <marker> tags, at least in the English
grammar.xml.  The <marker> tag should never contain text
but only other sub-tags.  Probably this kind of errors can
automatically be detected.

Regards
Dominique

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to