Class PatternMatchingModel
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.intent.LanguageUnderstandingModel
-
- com.microsoft.cognitiveservices.speech.intent.PatternMatchingModel
-
- All Implemented Interfaces:
KeyedItem
public final class PatternMatchingModel extends LanguageUnderstandingModel
Represents aPatternMatchingModelused for intent recognition.
-
-
Field Summary
-
Fields inherited from class com.microsoft.cognitiveservices.speech.intent.LanguageUnderstandingModel
modelId
-
-
Constructor Summary
Constructors Constructor Description PatternMatchingModel(String modelId)Creates aPatternMatchingModelusing the specified model ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyedItemHashMap<PatternMatchingEntity>getEntities()This container ofPatternMatchingEntityobjects is used to define all thePatternMatchingEntityobjects this model will look for.KeyedItemHashMap<PatternMatchingIntent>getIntents()This container ofPatternMatchingIntentobjects is used to define all thePatternMatchingIntentobjects this model will look for.-
Methods inherited from class com.microsoft.cognitiveservices.speech.intent.LanguageUnderstandingModel
fromAppId, fromEndpoint, fromSubscription, getId, getImpl, setId
-
-
-
-
Constructor Detail
-
PatternMatchingModel
public PatternMatchingModel(String modelId)
Creates aPatternMatchingModelusing the specified model ID.- Parameters:
modelId- A string that represents a unique ID for this model.
-
-
Method Detail
-
getIntents
public KeyedItemHashMap<PatternMatchingIntent> getIntents()
This container ofPatternMatchingIntentobjects is used to define all thePatternMatchingIntentobjects this model will look for.- Returns:
- A
KeyedItemHashMapthat contains all the Intents.
-
getEntities
public KeyedItemHashMap<PatternMatchingEntity> getEntities()
This container ofPatternMatchingEntityobjects is used to define all thePatternMatchingEntityobjects this model will look for.- Returns:
- A
KeyedItemHashMapthat contains all the Intents.
-
-