public void testCompleteText2() throws Exception {
InputStream stream = SuggestionReplacerTest.class.getResourceAsStream("/org/languagetool/dev/wikipedia/wikipedia2.txt");
String origMarkup = IOUtils.toString(stream);
JLanguageTool langTool = new JLanguageTool(new GermanyGerman());
langTool.activateDefaultPatternRules();
SwebleWikipediaTextFilter filter = new SwebleWikipediaTextFilter();
PlainTextMapping mapping = filter.filter(origMarkup);
List<RuleMatch> matches = langTool.check(mapping.getPlainText());
assertTrue("Expected >= 30 matches, got: " + matches, matches.size() >= 30);
String markup = origMarkup;