GoodocParagraph

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):

View Attributes

Attributes

  1. Box (type: GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox, default: nil)
    -
  2. FirstLineIndent (type: integer(), default: nil)
    -
  3. Label (type: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel, default: nil)
    -
  4. LeftIndent (type: integer(), default: nil)
    -
  5. LineSpacing (type: integer(), default: nil)
    -
  6. OrientationLabel (type: GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel, default: nil)
    - Which way is upright for this paragraph and what is the dominant reading order?
  7. RightIndent (type: integer(), default: nil)
    -
  8. RotatedBox (type: GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox, default: nil)
    - If RotatedBox is set, Box must be set as well. See RotatedBoundingBox.
  9. SpaceAfter (type: integer(), default: nil)
    -
  10. SpaceBefore (type: integer(), default: nil)
    -
  11. 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.
  12. 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.
  13. Width (type: integer(), default: nil)
    -
  14. alignment (type: integer(), default: nil)
    -
  15. droppedcap (type: GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphDroppedCap, default: nil)
    -
  16. 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
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph