public void testCompleteText2() throws Exception {
InputStream stream = SuggestionReplacerTest.class.getResourceAsStream("/org/languagetool/dev/wikipedia/wikipedia2.txt");
String origMarkup = IOUtils.toString(stream, "utf-8");
JLanguageTool langTool = new JLanguageTool(germanyGerman);
langTool.activateDefaultPatternRules();
PlainTextMapping mapping = filter.filter(origMarkup);
List<RuleMatch> matches = langTool.check(mapping.getPlainText());
assertTrue("Expected >= 30 matches, got: " + matches, matches.size() >= 30);
for (RuleMatch match : matches) {
SuggestionReplacer replacer = new SuggestionReplacer(mapping, origMarkup, new ErrorMarker("<s>", "</s>"));