EntityWithScore Class
- java.
lang. Object - EntityModel
- com.
microsoft. azure. cognitiveservices. language. luis. runtime. models. EntityWithScore
- com.
public class EntityWithScore extends EntityModel
The EntityWithScore model.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
score()
Get the score value. |
Entity |
withScore(double score)
Set the score value. |
Inherited Members
EntityModel.additionalProperties()
EntityModel.endIndex()
EntityModel.entity()
EntityModel.startIndex()
EntityModel.type()
EntityModel.withAdditionalProperties(Map<String, Object> additionalProperties)
EntityModel.withEndIndex(int endIndex)
EntityModel.withEntity(String entity)
EntityModel.withStartIndex(int startIndex)
EntityModel.withType(String type)
Method Details
score
public double score()
Get the score value.
Returns:
the score value
withScore
public EntityWithScore withScore(double score)
Set the score value.
Parameters:
score
- the score value to set
Returns:
the EntityWithScore object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for