public final class RemoteRuleFilters extends Object
Modifier and Type | Method and Description |
---|---|
static List<RuleMatch> |
filterMatches(Language lang,
AnalyzedSentence sentence,
List<RuleMatch> matches) |
static void |
main(String[] args)
Print matches remaining after filtering; arguments are language code and JSON file with matches
e.g. java [...] org.languagetool.rules.RemoteRuleFilters en matches.json
|
public static final String RULE_FILE
public static List<RuleMatch> filterMatches(@NotNull Language lang, @NotNull AnalyzedSentence sentence, @NotNull List<RuleMatch> matches) throws ExecutionException, IOException
ExecutionException
IOException