YKDocument doc1 = YKDocumentFactory.createYKDocument(new File("/Users/will/Desktop/bundestagdebate/14235.txt"),
"doc1", "UTF-8", Locale.GERMAN);
YKDocument doc2 = YKDocumentFactory.createYKDocument(new File("/Users/will/Desktop/bundestagdebate/14235.txt"),
"doc2", "UTF-8", Locale.GERMAN);
TokenStructuredDocument tsdoc1 = new TokenStructuredDocument(doc1);
TokenStructuredDocument tsdoc2 = new TokenStructuredDocument(doc2);
String[][] conc1 = tsdoc1.getPatternConcordance(Pattern.compile("vier"), 5);
String[][] conc2 = tsdoc2.getPatternConcordance(Pattern.compile("vier"), 5);
for (int ii = 0; ii < conc1.length; ii++) {
for (int jj = 0; jj < conc1[ii].length; jj++) {
System.out.print("[" + conc1[ii][jj] + "]");