Skip to content

Commit d0c32a6

Browse files
1 parent d35c322 commit d0c32a6

31 files changed

Lines changed: 207 additions & 102 deletions

File tree

src/Document/CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule exten
2222
protected $childAlignmentRuleType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule::class;
2323
protected $childAlignmentRuleDataType = '';
2424
/**
25-
* Description of the validation rule. This has no use but for documentation
25+
* Description of the validation rule. This has no use but for documentation.
2626
*
2727
* @var string
2828
*/
@@ -63,7 +63,7 @@ public function getChildAlignmentRule()
6363
return $this->childAlignmentRule;
6464
}
6565
/**
66-
* Description of the validation rule. This has no use but for documentation
66+
* Description of the validation rule. This has no use but for documentation.
6767
*
6868
* @param string $description
6969
*/

src/Document/GoogleCloudDocumentaiUiv1beta3DocumentSchema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchema extends \Google\Collection
2727
*/
2828
public $description;
2929
/**
30-
* Display name to show to users.
30+
* Display name to show users.
3131
*
3232
* @var string
3333
*/
@@ -62,7 +62,7 @@ public function getDescription()
6262
return $this->description;
6363
}
6464
/**
65-
* Display name to show to users.
65+
* Display name to show users.
6666
*
6767
* @param string $displayName
6868
*/

src/Document/GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType extends \Google\Col
4949
* "Common Type". The following naming conventions are used: - Use
5050
* `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters.
5151
* - Must start with a letter. - Allowed characters: ASCII letters
52-
* `[a-z0-9_-]`. (For backward compatibility internal infrastructure and
53-
* tooling can handle any ascii character.) - The `/` is sometimes used to
52+
* `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and
53+
* tooling can handle any ASCII character.) - The `/` is sometimes used to
5454
* denote a property of a type. For example `line_item/amount`. This
5555
* convention is deprecated, but will still be honored for backward
5656
* compatibility.
@@ -130,7 +130,7 @@ public function getEntityTypeMetadata()
130130
/**
131131
* If specified, lists all the possible values for this entity. This should
132132
* not be more than a handful of values. If the number of values is >10 or
133-
* could change frequently use the `EntityType.value_ontology` field and
133+
* could change frequently, use the `EntityType.value_ontology` field and
134134
* specify a list of all possible values in a value ontology file.
135135
*
136136
* @param GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues $enumValues
@@ -151,8 +151,8 @@ public function getEnumValues()
151151
* "Common Type". The following naming conventions are used: - Use
152152
* `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters.
153153
* - Must start with a letter. - Allowed characters: ASCII letters
154-
* `[a-z0-9_-]`. (For backward compatibility internal infrastructure and
155-
* tooling can handle any ascii character.) - The `/` is sometimes used to
154+
* `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and
155+
* tooling can handle any ASCII character.) - The `/` is sometimes used to
156156
* denote a property of a type. For example `line_item/amount`. This
157157
* convention is deprecated, but will still be honored for backward
158158
* compatibility.

src/Document/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata extends \Google\Model
4141
*/
4242
public $prefixedNamingOnProperties;
4343
/**
44-
* If set, we will skip the naming format validation in the schema. So the
44+
* If set, this will skip the naming format validation in the schema. So the
4545
* string values in `DocumentSchema.EntityType.name` and
4646
* `DocumentSchema.EntityType.Property.name` will not be checked.
4747
*
@@ -101,7 +101,7 @@ public function getPrefixedNamingOnProperties()
101101
return $this->prefixedNamingOnProperties;
102102
}
103103
/**
104-
* If set, we will skip the naming format validation in the schema. So the
104+
* If set, this will skip the naming format validation in the schema. So the
105105
* string values in `DocumentSchema.EntityType.name` and
106106
* `DocumentSchema.EntityType.Property.name` will not be checked.
107107
*

src/Document/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends \Google\Model
2121
{
2222
/**
23-
* The calculated f1 score.
23+
* The calculated F1 score.
2424
*
2525
* @var float
2626
*/
@@ -87,7 +87,7 @@ class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends \Google\Model
8787
public $truePositivesCount;
8888

8989
/**
90-
* The calculated f1 score.
90+
* The calculated F1 score.
9191
*
9292
* @param float $f1Score
9393
*/

src/Document/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@
2020
class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends \Google\Model
2121
{
2222
/**
23-
* Whether finetuning is allowed for this base processor version.
23+
* Whether fine tuning is allowed for this base processor version.
2424
*
2525
* @var bool
2626
*/
2727
public $finetuningAllowed;
2828
/**
2929
* The minimum number of labeled documents in the training dataset required
30-
* for finetuning.
30+
* for fine tuning.
3131
*
3232
* @var int
3333
*/
3434
public $minTrainLabeledDocuments;
3535

3636
/**
37-
* Whether finetuning is allowed for this base processor version.
37+
* Whether fine tuning is allowed for this base processor version.
3838
*
3939
* @param bool $finetuningAllowed
4040
*/
@@ -51,7 +51,7 @@ public function getFinetuningAllowed()
5151
}
5252
/**
5353
* The minimum number of labeled documents in the training dataset required
54-
* for finetuning.
54+
* for fine tuning.
5555
*
5656
* @param int $minTrainLabeledDocuments
5757
*/

src/Document/GoogleCloudDocumentaiUiv1beta3Schema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class GoogleCloudDocumentaiUiv1beta3Schema extends \Google\Collection
2727
*/
2828
public $description;
2929
/**
30-
* Display name to show to users.
30+
* Display name to show users.
3131
*
3232
* @var string
3333
*/
@@ -52,7 +52,7 @@ public function getDescription()
5252
return $this->description;
5353
}
5454
/**
55-
* Display name to show to users.
55+
* Display name to show users.
5656
*
5757
* @param string $displayName
5858
*/

src/Document/GoogleCloudDocumentaiV1Document.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class GoogleCloudDocumentaiV1Document extends \Google\Collection
4141
protected $entitiesType = GoogleCloudDocumentaiV1DocumentEntity::class;
4242
protected $entitiesDataType = 'array';
4343
/**
44-
* The entity revision id that `document.entities` field is based on. If this
44+
* The entity revision ID that `document.entities` field is based on. If this
4545
* field is set and `entities_revisions` is not empty, the entities in
4646
* `document.entities` field are the entities in the entity revision with this
4747
* id and `document.entity_validation_output` field is the
@@ -175,7 +175,7 @@ public function getEntities()
175175
return $this->entities;
176176
}
177177
/**
178-
* The entity revision id that `document.entities` field is based on. If this
178+
* The entity revision ID that `document.entities` field is based on. If this
179179
* field is set and `entities_revisions` is not empty, the entities in
180180
* `document.entities` field are the entities in the entity revision with this
181181
* id and `document.entity_validation_output` field is the

src/Document/GoogleCloudDocumentaiV1DocumentEntity.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class GoogleCloudDocumentaiV1DocumentEntity extends \Google\Collection
5353
*/
5454
public $mentionId;
5555
/**
56-
* Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
56+
* Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`.
5757
*
5858
* @var string
5959
*/
@@ -82,7 +82,7 @@ class GoogleCloudDocumentaiV1DocumentEntity extends \Google\Collection
8282
protected $textAnchorType = GoogleCloudDocumentaiV1DocumentTextAnchor::class;
8383
protected $textAnchorDataType = '';
8484
/**
85-
* Required. Entity type from a schema e.g. `Address`.
85+
* Required. Entity type from a schema, for example, `Address`.
8686
*
8787
* @var string
8888
*/
@@ -138,7 +138,7 @@ public function getMentionId()
138138
return $this->mentionId;
139139
}
140140
/**
141-
* Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
141+
* Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`.
142142
*
143143
* @param string $mentionText
144144
*/
@@ -173,9 +173,9 @@ public function getMethod()
173173
}
174174
/**
175175
* Optional. Normalized entity value. Absent if the extracted value could not
176-
* be converted or the type (e.g. address) is not supported for certain
177-
* parsers. This field is also only populated for certain supported document
178-
* types.
176+
* be converted or the type (for example, address) is not supported for
177+
* certain parsers. This field is also only populated for certain supported
178+
* document types.
179179
*
180180
* @param GoogleCloudDocumentaiV1DocumentEntityNormalizedValue $normalizedValue
181181
*/
@@ -275,7 +275,7 @@ public function getTextAnchor()
275275
return $this->textAnchor;
276276
}
277277
/**
278-
* Required. Entity type from a schema e.g. `Address`.
278+
* Required. Entity type from a schema, for example, `Address`.
279279
*
280280
* @param string $type
281281
*/

src/Document/GoogleCloudDocumentaiV1DocumentPage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ public function getTransforms()
327327
return $this->transforms;
328328
}
329329
/**
330-
* A list of detected non-text visual elements e.g. checkbox, signature etc.
331-
* on the page.
330+
* A list of detected non-text visual elements, for example, checkbox,
331+
* signature etc. on the page.
332332
*
333333
* @param GoogleCloudDocumentaiV1DocumentPageVisualElement[] $visualElements
334334
*/

0 commit comments

Comments
 (0)