Class DocumentWord


  • public final class DocumentWord
    extends Object
    A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.
    • Constructor Detail

      • DocumentWord

        public DocumentWord()
    • Method Detail

      • getContent

        public String getContent()
        Get the content property: Text content of the word.
        Returns:
        the content value.
      • getBoundingBox

        public List<Float> getBoundingBox()
        Get the boundingBox property: Bounding box of the word.
        Returns:
        the boundingBox value.
      • getSpan

        public DocumentSpan getSpan()
        Get the span property: Location of the word in the reading order concatenated content.
        Returns:
        the span value.
      • getConfidence

        public float getConfidence()
        Get the confidence property: Confidence of correctly extracting the word.
        Returns:
        the confidence value.