Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpSerializeState

Enables applications to to save and restore the recognizer's internal state.

The ISpSerializeState interface allows an application to get the recognizer's internal state, which can then be stored and fed back into the recognizer at a later stage. The state includes adaptation to noise levels and voice characteristics. This is useful, for example, when recognizing discrete recorded files that are known to all come from the same session.

Methods in Vtable Order

ISpSerializeState Methods Description
GetSerializedState Gets serialized data from the engine, thus allowing its current state to be stored and later restored for later speech data from the same source.
SetSerializedState Sets previously stored serialized data, thus allowing an engine state to be reproduced.