Class: Google::Cloud::Vision::V1p3beta1::TextAnnotation::DetectedBreak

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb

Overview

Detected start or end of a structural component.

Defined Under Namespace

Modules: BreakType

Instance Attribute Summary collapse

Instance Attribute Details

#is_prefix::Boolean



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb', line 63

class DetectedBreak
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum to denote the type of break found. New line, space etc.
  module BreakType
    # Unknown break label type.
    UNKNOWN = 0

    # Regular space.
    SPACE = 1

    # Sure space (very wide).
    SURE_SPACE = 2

    # Line-wrapping break.
    EOL_SURE_SPACE = 3

    # End-line hyphen that is not present in text; does not co-occur with
    # `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.
    HYPHEN = 4

    # Line break that ends a paragraph.
    LINE_BREAK = 5
  end
end

#type::Google::Cloud::Vision::V1p3beta1::TextAnnotation::DetectedBreak::BreakType



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'proto_docs/google/cloud/vision/v1p3beta1/text_annotation.rb', line 63

class DetectedBreak
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum to denote the type of break found. New line, space etc.
  module BreakType
    # Unknown break label type.
    UNKNOWN = 0

    # Regular space.
    SPACE = 1

    # Sure space (very wide).
    SURE_SPACE = 2

    # Line-wrapping break.
    EOL_SURE_SPACE = 3

    # End-line hyphen that is not present in text; does not co-occur with
    # `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.
    HYPHEN = 4

    # Line break that ends a paragraph.
    LINE_BREAK = 5
  end
end