Package | Description |
---|---|
com.google.api.services.language.v2.model |
Modifier and Type | Method and Description |
---|---|
TextSpan |
TextSpan.clone() |
TextSpan |
EntityMention.getText()
The mention text.
|
TextSpan |
Sentence.getText()
The sentence text.
|
TextSpan |
TextSpan.set(String fieldName,
Object value) |
TextSpan |
TextSpan.setBeginOffset(Integer beginOffset)
The API calculates the beginning offset of the content in the original document according to
the EncodingType specified in the API request.
|
TextSpan |
TextSpan.setContent(String content)
The content of the text span, which is a substring of the document.
|
Modifier and Type | Method and Description |
---|---|
EntityMention |
EntityMention.setText(TextSpan text)
The mention text.
|
Sentence |
Sentence.setText(TextSpan text)
The sentence text.
|
Copyright © 2011–2025 Google. All rights reserved.