Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: [documentai] Clarify Properties documentation #10145

Merged
merged 3 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-document-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.27.0</version>
<version>26.29.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.34.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.36.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1281,14 +1281,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <pre>
* Types of occurrences of the entity type in the document. This
* represents the number of instances of instances of an entity, not
* number of mentions of an entity. For example, a bank statement may
* only have one `account_number`, but this account number may be
* mentioned in several places on the document. In this case the
* 'account_number' would be considered a `REQUIRED_ONCE` entity type. If,
* on the other hand, we expect a bank statement to contain the status of
* multiple different accounts for the customers, the occurrence type will
* be set to `REQUIRED_MULTIPLE`.
* represents the number of instances of an entity, not number of mentions
* of an entity. For example, a bank statement may only have one
* `account_number`, but this account number may be mentioned in several
* places on the document. In this case the 'account_number' would be
* considered a `REQUIRED_ONCE` entity type. If, on the other hand, we
* expect a bank statement to contain the status of multiple different
* accounts for the customers, the occurrence type will be set to
* `REQUIRED_MULTIPLE`.
* </pre>
*
* Protobuf enum {@code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ message DocumentSchema {
// Defines properties that can be part of the entity type.
message Property {
// Types of occurrences of the entity type in the document. This
// represents the number of instances of instances of an entity, not
// number of mentions of an entity. For example, a bank statement may
// only have one `account_number`, but this account number may be
// mentioned in several places on the document. In this case the
// 'account_number' would be considered a `REQUIRED_ONCE` entity type. If,
// on the other hand, we expect a bank statement to contain the status of
// multiple different accounts for the customers, the occurrence type will
// be set to `REQUIRED_MULTIPLE`.
// represents the number of instances of an entity, not number of mentions
// of an entity. For example, a bank statement may only have one
// `account_number`, but this account number may be mentioned in several
// places on the document. In this case the 'account_number' would be
// considered a `REQUIRED_ONCE` entity type. If, on the other hand, we
// expect a bank statement to contain the status of multiple different
// accounts for the customers, the occurrence type will be set to
// `REQUIRED_MULTIPLE`.
enum OccurrenceType {
// Unspecified occurrence type.
OCCURRENCE_TYPE_UNSPECIFIED = 0;
Expand Down