Class TranscriptUtterance


  • public final class TranscriptUtterance
    extends java.lang.Object
    • Method Detail

      • getConfidence

        public double getConfidence()
        Returns:
        The confidence score for the transcript of this utterance
      • getStart

        public int getStart()
        Returns:
        The starting time, in milliseconds, of the utterance in the audio file
      • getEnd

        public int getEnd()
        Returns:
        The ending time, in milliseconds, of the utterance in the audio file
      • getText

        public java.lang.String getText()
        Returns:
        The text for this utterance
      • getWords

        public java.util.List<TranscriptWord> getWords()
        Returns:
        The words in the utterance.
      • getSpeaker

        public java.lang.String getSpeaker()
        Returns:
        The speaker of this utterance, where each speaker is assigned a sequential capital letter - e.g. "A" for Speaker A, "B" for Speaker B, etc.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object