I’m trying to implement support for LanguageTool by direct call for CheckMate and I was hoping to be able to access the W3C ITS Localization Quality issue type from the API, but it seems to not be there.
I’m trying to implement support for LanguageTool by direct call for
CheckMate and I was hoping to be able to access the W3C ITS Localization
Quality issue type from the API, but it seems to not be there.
once you have a rule match, you can access the quality type like this:
final String type = match.getRule().getLocQualityIssueType();
Note that for now, only English has those values. We welcome any patches to
the grammar.xml files that add those attributes. You can simply add e.g.
type=“grammar” to either a category, a rulegroup, or a rule.