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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java