Google Cloud Document Ai V1 Client - Class Paragraph (2.3.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class Paragraph.

A collection of lines that a human would perceive as a paragraph.

Generated from protobuf message google.cloud.documentai.v1.Document.Page.Paragraph

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ Page

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ layout
↳ detected_languages
array< DetectedLanguage >

A list of detected languages together with confidence.

↳ provenance
Google\Cloud\DocumentAI\V1\Document\Provenance

The history of this annotation.

getLayout

Returns
Type
Description
Layout |null

hasLayout

clearLayout

setLayout

Parameter
Name
Description
var
Returns
Type
Description
$this

getDetectedLanguages

A list of detected languages together with confidence.

Returns
Type
Description

setDetectedLanguages

A list of detected languages together with confidence.

Parameter
Name
Description
var
array< DetectedLanguage >
Returns
Type
Description
$this

getProvenance

The history of this annotation.

Returns
Type
Description

hasProvenance

clearProvenance

setProvenance

The history of this annotation.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: