Package com.geniusscansdk.core
Class TextLayoutToTextConverterResult
- java.lang.Object
-
- com.geniusscansdk.core.TextLayoutToTextConverterResult
-
public final class TextLayoutToTextConverterResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TextLayoutToTextConverterResult(TextLayoutToTextConverterStatus status, java.lang.String text, int averageWordConfidence, int wordCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAverageWordConfidence()The average word confidence of the recognized text.TextLayoutToTextConverterStatusgetStatus()The status of the conversion.java.lang.StringgetText()The text reconstructed from the text layout.intgetWordCount()The number of words in the recognized text.java.lang.StringtoString()
-
-
-
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()
- Overrides:
toStringin classjava.lang.Object
-
-