| Package | Description |
|---|---|
| com.amazonaws.services.comprehend.model |
| Modifier and Type | Method and Description |
|---|---|
SyntaxToken |
SyntaxToken.clone() |
SyntaxToken |
SyntaxToken.withBeginOffset(Integer beginOffset)
The zero-based offset from the beginning of the source text to the first character in the word.
|
SyntaxToken |
SyntaxToken.withEndOffset(Integer endOffset)
The zero-based offset from the beginning of the source text to the last character in the word.
|
SyntaxToken |
SyntaxToken.withPartOfSpeech(PartOfSpeechTag partOfSpeech)
Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was
correctly identified.
|
SyntaxToken |
SyntaxToken.withText(String text)
The word that was recognized in the source text.
|
SyntaxToken |
SyntaxToken.withTokenId(Integer tokenId)
A unique identifier for a token.
|
| Modifier and Type | Method and Description |
|---|---|
List<SyntaxToken> |
BatchDetectSyntaxItemResult.getSyntaxTokens()
The syntax tokens for the words in the document, one token for each word.
|
List<SyntaxToken> |
DetectSyntaxResult.getSyntaxTokens()
A collection of syntax tokens describing the text.
|
| Modifier and Type | Method and Description |
|---|---|
BatchDetectSyntaxItemResult |
BatchDetectSyntaxItemResult.withSyntaxTokens(SyntaxToken... syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
DetectSyntaxResult |
DetectSyntaxResult.withSyntaxTokens(SyntaxToken... syntaxTokens)
A collection of syntax tokens describing the text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BatchDetectSyntaxItemResult.setSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
void |
DetectSyntaxResult.setSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
A collection of syntax tokens describing the text.
|
BatchDetectSyntaxItemResult |
BatchDetectSyntaxItemResult.withSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
DetectSyntaxResult |
DetectSyntaxResult.withSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
A collection of syntax tokens describing the text.
|
Copyright © 2021. All rights reserved.