Package | Description |
---|---|
com.google.api.services.language.v2.model |
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.clone() |
Entity |
Entity.set(String fieldName,
Object value) |
Entity |
Entity.setMentions(List<EntityMention> mentions)
The mentions of this entity in the input document.
|
Entity |
Entity.setMetadata(Map<String,String> metadata)
Metadata associated with the entity.
|
Entity |
Entity.setName(String name)
The representative name for the entity.
|
Entity |
Entity.setSentiment(Sentiment sentiment)
For calls to AnalyzeEntitySentiment this field will contain the aggregate sentiment expressed
for this entity in the provided document.
|
Entity |
Entity.setType(String type)
The entity type.
|
Modifier and Type | Method and Description |
---|---|
List<Entity> |
AnnotateTextResponse.getEntities()
Entities, along with their semantic information, in the input document.
|
List<Entity> |
AnalyzeEntitiesResponse.getEntities()
The recognized entities in the input document.
|
Modifier and Type | Method and Description |
---|---|
AnnotateTextResponse |
AnnotateTextResponse.setEntities(List<Entity> entities)
Entities, along with their semantic information, in the input document.
|
AnalyzeEntitiesResponse |
AnalyzeEntitiesResponse.setEntities(List<Entity> entities)
The recognized entities in the input document.
|
Copyright © 2011–2025 Google. All rights reserved.