Implemented interlinguality and fixed some bugs"
This commit is contained in:
@@ -1026,7 +1026,6 @@ public class XML_processing {
|
||||
} //else {
|
||||
// System.out.println("Error");
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1068,10 +1067,22 @@ public class XML_processing {
|
||||
|
||||
// add sentence to corpus if it passes filters
|
||||
if (includeFile && !ValidationUtil.isEmpty(sentence)) {
|
||||
// for(Word w : sentence) {
|
||||
// if (w.getW1().equals("")) {
|
||||
// System.out.println("HERE!!!");
|
||||
// }
|
||||
// }
|
||||
sentence = runFilters(sentence, stats.getFilter());
|
||||
// for(Word w : sentence) {
|
||||
// if (w.getW1().equals("")) {
|
||||
// System.out.println("HERE!!!");
|
||||
// }
|
||||
// }
|
||||
corpus.add(new Sentence(sentence, currentFiletaxonomy));
|
||||
}
|
||||
|
||||
|
||||
|
||||
wordIndex = 0;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user