On 04.04.2013, 23:54:37 Paolo Bianchini wrote:
> I would probably need to override that method. What's the correct way of
> doing that? I just do not want to copy and paste the whole rule to make
> an ItalianLongSentence
Probably like this:
public class ItalianLongSentenceRule extends LongSentenceRule {
You would then only override those methods were it makes sense, e.g.
getDescription(). The other thing to note is that this rule if off by
default...
> How would this work for Italian? Would it be possible to get a rule
> category that has been defined into the grammar.xml file?
I don't think so. But if you just use the same string as in the
grammar.xml, the Java and XML rules should end up in the same category.
Regards
Daniel
--
http://www.danielnaber.de
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel