org.languagetool.rules.rules.xsd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of languagetool-core Show documentation
Show all versions of languagetool-core Show documentation
LanguageTool is an Open Source proofreading software for English, French, German, Polish, Romanian, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect like mixing up there/their and it detects some grammar problems.
Main element
Use the category element to group rules/rulegroups.
The attribute name shows the category use, e.g. 'Grammar', 'Spelling', 'Style' etc.
Defines a group of rules
to display several rules as one in the configuration user interface. A group has a unique ID.
The whole rule group can be switched by default off using the attribute 'default'.
Localization Quality Issue Type, according to Internationalization Tag Set (ITS) Version 2.0,
see http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#lqissue-typevalues
(added in LanguageTool 2.0)
The rule element. The
unique ID is required only if the rule is not contained in a rule group.
The rule can be switched by default off (using the default attribute).
A negative-matching pattern used to
mark up complex exceptions in rules. Note: it does not support
phrases and OR operations for simplicity.
A short description of
the error detected by this rule displayed on the
context menu in LibreOffice/OpenOffice.org.
Message shown to the user if a rule matches.
A fully qualified Java class that extends the RuleFilter class
Arguments given to the Java code: a space-separated list with
elements in the form of 'key:\x', where key is the parameter name and x is a number
that refers to the pattern's token. Number and parameter names depend on the Java code.
URL with further information
about the linguistic rule behind this error.
Suggestion displayed to the user.
Specifies examples used
in JUnit tests and as documentation.
The attribute 'correction' is used to check if the suggested correction
is correct; multiple suggestions are joined with "|".
The attribute triggers_error is not used by the software.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy