Dela via


DocumentCountryRegionField interface

A DocumentField that has a value indicating a country or region, represented as a string.

Extends

Properties

kind

Field kind: "countryRegion".

value

The 3-letter country/region code (ISO 3166-1 alpha-3) of the extracted country or region.

Inherited Properties

boundingRegions

Bounding regions covering the field.

confidence

Confidence of correctly extracting the field.

content

The verbatim extracted text content of the field.

spans

Location of the field in the reading order concatenated content.

Property Details

kind

Field kind: "countryRegion".

kind: "countryRegion"

Property Value

"countryRegion"

value

The 3-letter country/region code (ISO 3166-1 alpha-3) of the extracted country or region.

value?: string

Property Value

string

Inherited Property Details

boundingRegions

Bounding regions covering the field.

boundingRegions?: BoundingRegion[]

Property Value

Inherited From DocumentFieldCommon.boundingRegions

confidence

Confidence of correctly extracting the field.

confidence?: number

Property Value

number

Inherited From DocumentFieldCommon.confidence

content

The verbatim extracted text content of the field.

content?: string

Property Value

string

Inherited From DocumentFieldCommon.content

spans

Location of the field in the reading order concatenated content.

spans?: DocumentSpan[]

Property Value

Inherited From DocumentFieldCommon.spans