GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph
Table of Contents ▼
Jump to a specific part of the page:
Description
Represents a paragraph of text in OCRed content.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
Box
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox
, default:nil
)
- -
FirstLineIndent
(type:integer()
, default:nil
)
- -
Label
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocLabel
, default:nil
)
- -
LeftIndent
(type:integer()
, default:nil
)
- -
LineSpacing
(type:integer()
, default:nil
)
- -
OrientationLabel
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel
, default:nil
)
- Which way is upright for this paragraph and what is the dominant reading order? -
RightIndent
(type:integer()
, default:nil
)
- -
RotatedBox
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox
, default:nil
)
- If RotatedBox is set, Box must be set as well. See RotatedBoundingBox. -
SpaceAfter
(type:integer()
, default:nil
)
- -
SpaceBefore
(type:integer()
, default:nil
)
- -
SubsumedParagraphProperties
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph)
, default:nil
)
- If we merge any paragraphs into this one (through the MergeParagraphWithNext() interface in goodoc-editing.h), then we append the properties of the merged paragraph here, for debugging and to avoid losing any info. Note that the SubsumedParagraphProperties Paragraphs do not contain Routes. -
TextConfidence
(type:integer()
, default:nil
)
- Paragraph text recognition confidence. Range depends on the algorithm but should be consistent in a given volume. 0 is bad, 100 is good. -
Width
(type:integer()
, default:nil
)
- -
alignment
(type:integer()
, default:nil
)
- -
droppedcap
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphDroppedCap
, default:nil
)
- -
route
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphRoute)
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph{
Box: GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox.t() | nil,
FirstLineIndent: integer() | nil,
Label: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t() | nil,
LeftIndent: integer() | nil,
LineSpacing: integer() | nil,
OrientationLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel.t() | nil,
RightIndent: integer() | nil,
RotatedBox: GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox.t() | nil,
SpaceAfter: integer() | nil,
SpaceBefore: integer() | nil,
SubsumedParagraphProperties: [#t:t/0()] | nil,
TextConfidence: integer() | nil,
Width: integer() | nil,
alignment: integer() | nil,
droppedcap: GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphDroppedCap.t() | nil,
route: [GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphRoute.t()] | nil
}
Box: GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox.t() | nil,
FirstLineIndent: integer() | nil,
Label: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t() | nil,
LeftIndent: integer() | nil,
LineSpacing: integer() | nil,
OrientationLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel.t() | nil,
RightIndent: integer() | nil,
RotatedBox: GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox.t() | nil,
SpaceAfter: integer() | nil,
SpaceBefore: integer() | nil,
SubsumedParagraphProperties: [#t:t/0()] | nil,
TextConfidence: integer() | nil,
Width: integer() | nil,
alignment: integer() | nil,
droppedcap: GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphDroppedCap.t() | nil,
route: [GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphRoute.t()] | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph