class Intent::LanguageUnderstandingModel
A szándékfelismeréshez használt nyelvértési modellt jelöli.
Tagok
LanguageUnderstandingModel
Szintaxis: public inline explicit LanguageUnderstandingModel ( SPXLUMODELHANDLE hlumodel );
Belső konstruktor. Létrehoz egy új példányt a megadott leíró használatával.
Paraméterek
hlumodel
Nyelvfelismerési modell leírója.
~LanguageUnderstandingModel
Szintaxis: public inline virtual ~LanguageUnderstandingModel ( );
Virtuális destruktor.
operátor SPXLUMODELHANDLE
Szintaxis: public inline explicit operator SPXLUMODELHANDLE ( ) const;
Belső. Explicit konverziós operátor.
Válaszok
Egy fogópont.
GetModelId
Szintaxis: public inline virtual std::string GetModelId ( ) const;
A modell azonosítóját adja vissza.
Válaszok
A modell azonosítóját képviselő sztring.
GetModelType
Szintaxis: public inline LanguageUnderstandingModelType GetModelType ( ) const;
Lekéri a modell típusát.
Válaszok
A modell típusát jelölő szám.
FromEndpoint
Szintaxis: public inline static std::shared_ptr< LanguageUnderstandingModel > FromEndpoint ( const std::string & uri );
Létrehoz egy nyelvértelmezési (LUIS) modellt a megadott végpont URL-címével.
Paraméterek
uri
Egy nyelvértelmezési modell végponti URL-címe.
Válaszok
Megosztott mutató a nyelvértelmező modellre.
FromAppId
Szintaxis: public inline static std::shared_ptr< LanguageUnderstandingModel > FromAppId ( const std::string & appId );
Nyelvértelmező modellt hoz létre a megadott alkalmazásazonosító használatával.
Paraméterek
appId
Egy sztring, amely Language Understanding szolgáltatás alkalmazásazonosítóját jelöli.
Válaszok
Megosztott mutató a nyelvértelmező modellre.
FromSubscription
Szintaxis: public inline static std::shared_ptr< LanguageUnderstandingModel > FromSubscription ( const std::string & subscriptionKey , const std::string & appId , const std::string & region );
Létrehoz egy nyelvértelmező modellt a megadott gazdagépnév, előfizetési kulcs és alkalmazásazonosító használatával.
Paraméterek
subscriptionKey
Egy sztring, amely Language Understanding szolgáltatás előfizetési kulcsát jelöli.appId
Egy sztring, amely Language Understanding szolgáltatás alkalmazásazonosítóját jelöli.region
Egy sztring, amely a Language Understanding szolgáltatás régióját jelöli (lásd a régió oldalát).
Válaszok
Megosztott mutató a nyelvértelmező modellre.
m_type
Szintaxis: protected LanguageUnderstandingModelType m_type;
LanguageUnderstandingModel
Szintaxis: protected inline LanguageUnderstandingModel ( LanguageUnderstandingModelType type );
Védett konstruktor alaposztályokhoz a típus beállításához.
Paraméterek
type
Nyelvfelismerési modell típusa.
LanguageUnderstandingModelType
Szintaxis: enum LanguageUnderstandingModelType;
Értékek | Leírások |
---|---|
PatternMatchingModel | |
LanguageUnderstandingModel | |
ConversationalLanguageUnderstandingModel |