你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.