Class Sentence

    • Method Detail

      • fromJson

        public static Sentence fromJson​(String json,
                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a Sentence object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        Sentence object represented by the provided JSON
      • fromJson

        public static Sentence fromJson​(InputStream json,
                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Sentence object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Sentence object represented by the provided JSON
      • getMediaChannel

        public final Integer getMediaChannel()
      • getSentenceIndex

        public final Integer getSentenceIndex()
      • getStartTime

        public final BigDecimal getStartTime()
      • getEndTime

        public final BigDecimal getEndTime()
      • getTranscript

        public final String getTranscript()
      • getSid

        public final String getSid()
      • getConfidence

        public final BigDecimal getConfidence()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object