Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a phrase that may be spoken by the user. Added in version 1.5.0.
Members
GrammarPhrase
Syntax: public inline explicit GrammarPhrase ( SPXPHRASEHANDLE hphrase );
Internal constructor. Creates a new instance using the provided handle.
Parameters
hphraseGrammar phrase handle.
~GrammarPhrase
Syntax: public inline virtual ~GrammarPhrase ( );
Virtual destructor.
operator SPXPHRASEHANDLE
Syntax: public inline explicit operator SPXPHRASEHANDLE ( );
Internal. Explicit conversion operator.
Returns
A handle.
From
Syntax: public inline static std::shared_ptr< GrammarPhrase > From ( const std::string & text );
Creates a grammar phrase using the specified phrase text.
Parameters
textThe text representing a phrase that may be spoken by the user.
Returns
A shared pointer to a grammar phrase.