GoogleCloudDocumentaiV1DocumentEntityResponse class
An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.
Constructors
-
GoogleCloudDocumentaiV1DocumentEntityResponse({required Input<
double> confidence, required Input<String> mentionId, required Input<String> mentionText, required Input<GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponse> normalizedValue, required Input<GoogleCloudDocumentaiV1DocumentPageAnchorResponse> pageAnchor, required Input<List< properties, required Input<GoogleCloudDocumentaiV1DocumentEntityResponse> >GoogleCloudDocumentaiV1DocumentProvenanceResponse> provenance, required Input<bool> redacted, required Input<GoogleCloudDocumentaiV1DocumentTextAnchorResponse> textAnchor, required Input<String> type}) -
Creates a new GoogleCloudDocumentaiV1DocumentEntityResponse.
confidenceOptional. Confidence of detected Schema entity. Range[0, 1].mentionIdOptional. Deprecated. Useidfield instead.mentionTextOptional. Text value of the entity e.g.1600 Amphitheatre Pkwy.normalizedValueOptional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.pageAnchorOptional. Represents the provenance of this entity wrt. the location on the page where it was found.propertiesOptional. Entities can be nested to form a hierarchical data structure representing the content in the document.provenanceOptional. The history of this annotation.redactedOptional. Whether the entity will be redacted for de-identification purposes.textAnchorOptional. Provenance of the entity. Text anchor indexing into the Document.text.typeEntity type from a schema e.g.Address.const -
GoogleCloudDocumentaiV1DocumentEntityResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
confidence
→ Input<
double> -
Optional. Confidence of detected Schema entity. Range
[0, 1].final - hashCode → int
-
The hash code for this object.
no setterinherited
-
mentionId
→ Input<
String> -
Optional. Deprecated. Use
idfield instead.final -
mentionText
→ Input<
String> -
Optional. Text value of the entity e.g.
1600 Amphitheatre Pkwy.final -
normalizedValue
→ Input<
GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponse> -
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
final
-
pageAnchor
→ Input<
GoogleCloudDocumentaiV1DocumentPageAnchorResponse> -
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
final
-
properties
→ Input<
List< GoogleCloudDocumentaiV1DocumentEntityResponse> > -
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
final
-
provenance
→ Input<
GoogleCloudDocumentaiV1DocumentProvenanceResponse> -
Optional. The history of this annotation.
final
-
redacted
→ Input<
bool> -
Optional. Whether the entity will be redacted for de-identification purposes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textAnchor
→ Input<
GoogleCloudDocumentaiV1DocumentTextAnchorResponse> -
Optional. Provenance of the entity. Text anchor indexing into the Document.text.
final
-
type
→ Input<
String> -
Entity type from a schema e.g.
Address.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited