LuisResult Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. runtime. models. LuisResult
- com.
public class LuisResult
Prediction, based on the input query, containing intent(s) and entities.
Method Summary
Method Details
alteredQuery
public String alteredQuery()
Get the alteredQuery value.
Returns:
compositeEntities
public List
Get the compositeEntities value.
Returns:
entities
public List
Get the entities value.
Returns:
intents
public List
Get the intents value.
Returns:
query
public String query()
Get the query value.
Returns:
sentimentAnalysis
public Sentiment sentimentAnalysis()
Get the sentimentAnalysis value.
Returns:
topScoringIntent
public IntentModel topScoringIntent()
Get the topScoringIntent value.
Returns:
withAlteredQuery
public LuisResult withAlteredQuery(String alteredQuery)
Set the alteredQuery value.
Parameters:
Returns:
withCompositeEntities
public LuisResult withCompositeEntities(List
Set the compositeEntities value.
Parameters:
Returns:
withEntities
public LuisResult withEntities(List
Set the entities value.
Parameters:
Returns:
withIntents
public LuisResult withIntents(List
Set the intents value.
Parameters:
Returns:
withQuery
public LuisResult withQuery(String query)
Set the query value.
Parameters:
Returns:
withSentimentAnalysis
public LuisResult withSentimentAnalysis(Sentiment sentimentAnalysis)
Set the sentimentAnalysis value.
Parameters:
Returns:
withTopScoringIntent
public LuisResult withTopScoringIntent(IntentModel topScoringIntent)
Set the topScoringIntent value.
Parameters:
Returns: