GoogleApi.ContentWarehouse.V1.Model.GoodocWordAlternatesAlternate
Table of Contents ▼
Jump to a specific part of the page:
Description
An alternate word provided by another OCR engine, used for OCR Correction. This iteration only supports simple substitution errors (exhanging one word for another), but with minor modifications (e.g. adding a word count for each alternate), it could support repairing word segmentation and text detection errors.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
OcrEngineId
(type:String.t
, default:nil
)
- See Document.Header -
OcrEngineVersion
(type:String.t
, default:nil
)
- See Document.Header -
Word
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocWord
, default:nil
)
- In order to compile, this recursive message needs to be optional, even though it's within an optional group.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocWordAlternatesAlternate{
OcrEngineId: String.t() | nil,
OcrEngineVersion: String.t() | nil,
Word: GoogleApi.ContentWarehouse.V1.Model.GoodocWord.t() | nil
}
OcrEngineId: String.t() | nil,
OcrEngineVersion: String.t() | nil,
Word: GoogleApi.ContentWarehouse.V1.Model.GoodocWord.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocWordAlternatesAlternate