Class TextLayoutToTextConverterResult

  • public final class TextLayoutToTextConverterResult
    extends java.lang.Object
    • Constructor Detail

      • TextLayoutToTextConverterResult

        public TextLayoutToTextConverterResult​(TextLayoutToTextConverterStatus status,
                                               java.lang.String text,
                                               int averageWordConfidence,
                                               int wordCount)
    • Method Detail

      • getStatus

        public TextLayoutToTextConverterStatus getStatus()
        The status of the conversion. If failure, the other values in the result must not be used.
      • getText

        public java.lang.String getText()
        The text reconstructed from the text layout.
      • getAverageWordConfidence

        public int getAverageWordConfidence()
        The average word confidence of the recognized text. A value between 0 and 100
      • getWordCount

        public int getWordCount()
        The number of words in the recognized text. This is the number of words on which the average word confidence has been computed.
      • toString

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