diff --git a/src/org/exmaralda/common/corpusbuild/comafunctions/CountSegments.xsl b/src/org/exmaralda/common/corpusbuild/comafunctions/CountSegments.xsl index 6cde49c4..c0b923af 100644 --- a/src/org/exmaralda/common/corpusbuild/comafunctions/CountSegments.xsl +++ b/src/org/exmaralda/common/corpusbuild/comafunctions/CountSegments.xsl @@ -5,6 +5,8 @@ cGAT GEN + + INEL HIAT @@ -12,6 +14,8 @@ SpeakerContribution_Word SpeakerContribution_Word + + SpeakerContribution_Utterance_Word SpeakerContribution_Utterance_Word @@ -82,6 +86,25 @@ + + + + + + + Utterances + + + + + + Punctuation + + + + + + diff --git a/src/org/exmaralda/common/corpusbuild/comafunctions/SegmentsCounter.java b/src/org/exmaralda/common/corpusbuild/comafunctions/SegmentsCounter.java index 120dd23f..53d8d521 100644 --- a/src/org/exmaralda/common/corpusbuild/comafunctions/SegmentsCounter.java +++ b/src/org/exmaralda/common/corpusbuild/comafunctions/SegmentsCounter.java @@ -40,7 +40,7 @@ public class SegmentsCounter { String currentFilename; Element currentElement; int count = 0; - private HashSet errorList = new HashSet(); + private HashSet errorList = new HashSet<>(); public SegmentsCounter() throws JDOMException, IOException { Document xslDocument = new IOUtilities()