class GrammarPhrase
Represents a phrase that may be spoken by the user. Added in version 1.5.0.
Syntax: public inline explicit GrammarPhrase ( SPXPHRASEHANDLE hphrase );
Internal constructor. Creates a new instance using the provided handle.
hphrase
Grammar phrase handle.
Syntax: public inline virtual ~GrammarPhrase ( );
Virtual destructor.
Syntax: public inline explicit operator SPXPHRASEHANDLE ( );
Internal. Explicit conversion operator.
A handle.
Syntax: public inline static std::shared_ptr< GrammarPhrase > From ( const std::string & text );
Creates a grammar phrase using the specified phrase text.
text
The text representing a phrase that may be spoken by the user.
A shared pointer to a grammar phrase.