Package | Description |
---|---|
com.google.api.services.language.v2.model |
Modifier and Type | Method and Description |
---|---|
EntityMention |
EntityMention.clone() |
EntityMention |
EntityMention.set(String fieldName,
Object value) |
EntityMention |
EntityMention.setProbability(Float probability)
Probability score associated with the entity.
|
EntityMention |
EntityMention.setSentiment(Sentiment sentiment)
For calls to AnalyzeEntitySentiment this field will contain the sentiment expressed for this
mention of the entity in the provided document.
|
EntityMention |
EntityMention.setText(TextSpan text)
The mention text.
|
EntityMention |
EntityMention.setType(String type)
The type of the entity mention.
|
Modifier and Type | Method and Description |
---|---|
List<EntityMention> |
Entity.getMentions()
The mentions of this entity in the input document.
|
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.setMentions(List<EntityMention> mentions)
The mentions of this entity in the input document.
|
Copyright © 2011–2025 Google. All rights reserved.