Dela via


class Speaker::VoiceProfilePhraseResult

Klass för VoiceProfilePhraseResult. Den här klassen representerar resultatet av att begära giltiga aktiveringsfraser för talarigenkänning. Har lagts till i version 1.18.0.

Medlemmar

ResultId

Syntax: public const std::string & ResultId;

Unikt resultat-ID.

Anledning

Syntax: public const ResultReason & Reason;

Orsak till röstprofilresultat.

Egenskaper

Syntax: public PropertyCollection & Properties;

En samling egenskaper och deras värden som definierats för denna VoiceProfilePhraseResult.

VoiceProfilePhraseResult

Syntax: public inline explicit VoiceProfilePhraseResult ( SPXRESULTHANDLE hresult );

~VoiceProfilePhraseResult

Syntax: public inline virtual ~VoiceProfilePhraseResult ( );

GetPhrases

Syntax: public inline std::shared_ptr< std::vector< std::string > > GetPhrases ( );

Hämtar aktiveringsfraserna.

Returer

Frasvektor i strängform

operator SPXRESULTHANDLE

Syntax: public inline explicit operator SPXRESULTHANDLE ( );

Interna. Explicit konverteringsoperator.

Returer

Ett handtag.