Back to LanguageTool Homepage - Privacy - Imprint

ITS Localization Quality Issue information


(Yves) #1

Hi,

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.

See http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Aug/0171.html for reference.

I'm using the version 2.0.1 from maven. Is there a more recent release or snapshot that has the feature?

thanks,
-yves


(Daniel Naber) #2

On Mo 18.03.2013, 14:03:04 you wrote:

Hi Yves,

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.

Regards
Daniel

--
http://www.danielnaber.de


(Yves) #3

Never mind i just saw that i can get it from: match.getRule().getLocQualityIssueType().