Added some style modifications.

This commit is contained in:
2018-11-20 09:52:16 +01:00
parent cbfe3e6025
commit a7f3bdb925
13 changed files with 233 additions and 114 deletions

View File

@@ -637,7 +637,7 @@ public class XML_processing {
// parser reached end of the current sentence
if (endElement.getName().getLocalPart().equals(sentenceDelimiter)) {
// count all UniGramOccurrences in sentence for statistics
stats.updateUniGramOccurrences(sentence.size());
stats.updateUniGramOccurrences(sentence.size(), currentFiletaxonomyLong);
// add sentence to corpus if it passes filters
sentence = runFilters(sentence, stats.getFilter());