new PatternRule("-1", language, Collections.<Element>emptyList(), "", "", "");
}
public void testMakeSuggestionUppercase() throws IOException {
final JLanguageTool langTool = new JLanguageTool(language);
langTool.activateDefaultPatternRules();
final Element element = new Element("Were", false, false, false);
final String message = "Did you mean: <suggestion>where</suggestion> or <suggestion>we</suggestion>?";
final PatternRule rule = new PatternRule("MY_ID", language, Collections.singletonList(element), "desc", message, "msg");
final RuleMatch[] matches = rule.match(langTool.getAnalyzedSentence("Were are in the process of ..."));