public static enum DocumentFeature.FeatureType extends Enum<DocumentFeature.FeatureType> implements BmcEnum
The type of document analysis requested. The allowed values are: - LANGUAGE_CLASSIFICATION
: Detect the language. - TEXT_DETECTION
: Recognize text. -
TABLE_DETECTION
: Detect and extract data in tables. - KEY_VALUE_DETECTION
:
Extract form fields. - DOCUMENT_CLASSIFICATION
: Identify the type of document.
Enum Constant and Description |
---|
DocumentClassification |
KeyValueDetection |
LanguageClassification |
TableDetection |
TextDetection |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static DocumentFeature.FeatureType |
create(String key) |
String |
getValue() |
static DocumentFeature.FeatureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentFeature.FeatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentFeature.FeatureType LanguageClassification
public static final DocumentFeature.FeatureType TextDetection
public static final DocumentFeature.FeatureType TableDetection
public static final DocumentFeature.FeatureType KeyValueDetection
public static final DocumentFeature.FeatureType DocumentClassification
public static final DocumentFeature.FeatureType UnknownEnumValue
public static DocumentFeature.FeatureType[] values()
for (DocumentFeature.FeatureType c : DocumentFeature.FeatureType.values()) System.out.println(c);
public static DocumentFeature.FeatureType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DocumentFeature.FeatureType create(String key)
Copyright © 2016–2024. All rights reserved.