Class Entity


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

      • getEntityType

        public EntityType getEntityType()
        Returns:
        The type of entity for the detected entity
      • getText

        public java.lang.String getText()
        Returns:
        The text for the detected entity
      • getStart

        public int getStart()
        Returns:
        The starting time, in milliseconds, at which the detected entity appears in the audio file
      • getEnd

        public int getEnd()
        Returns:
        The ending time, in milliseconds, for the detected entity in the audio file
      • 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