| Package | Description |
|---|---|
| com.amazonaws.services.comprehend.model |
| Modifier and Type | Method and Description |
|---|---|
Entity |
Entity.clone() |
Entity |
Entity.withBeginOffset(Integer beginOffset)
A character offset in the input text that shows where the entity begins (the first character is at position 0).
|
Entity |
Entity.withEndOffset(Integer endOffset)
A character offset in the input text that shows where the entity ends.
|
Entity |
Entity.withScore(Float score)
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
|
Entity |
Entity.withText(String text)
The text of the entity.
|
Entity |
Entity.withType(EntityType type)
The entity's type.
|
Entity |
Entity.withType(String type)
The entity's type.
|
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
DetectEntitiesResult.getEntities()
A collection of entities identified in the input text.
|
List<Entity> |
BatchDetectEntitiesItemResult.getEntities()
One or more Entity objects, one for each entity detected in the document.
|
| Modifier and Type | Method and Description |
|---|---|
DetectEntitiesResult |
DetectEntitiesResult.withEntities(Entity... entities)
A collection of entities identified in the input text.
|
BatchDetectEntitiesItemResult |
BatchDetectEntitiesItemResult.withEntities(Entity... entities)
One or more Entity objects, one for each entity detected in the document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DetectEntitiesResult.setEntities(Collection<Entity> entities)
A collection of entities identified in the input text.
|
void |
BatchDetectEntitiesItemResult.setEntities(Collection<Entity> entities)
One or more Entity objects, one for each entity detected in the document.
|
DetectEntitiesResult |
DetectEntitiesResult.withEntities(Collection<Entity> entities)
A collection of entities identified in the input text.
|
BatchDetectEntitiesItemResult |
BatchDetectEntitiesItemResult.withEntities(Collection<Entity> entities)
One or more Entity objects, one for each entity detected in the document.
|
Copyright © 2021. All rights reserved.