protected SpeechEnrollerBase(SpeechApi.Configuration configuration)
 {
     Configuration = configuration;
     Profiles      = new Dictionary <uint, SpeechEnroller.Profile>();
     EnrollResults = new Dictionary <string, SpeechEnroller.InstanceResult>(StringComparer.OrdinalIgnoreCase);
     MetaData      = new Dictionary <string, string>();
     ExtraData     = new Dictionary <string, object>();
     Content       = new SpeechContent();
     ResetEnroller();
 }
Esempio n. 2
0
 protected SpeechIdentifierBase(SpeechApi.Configuration configuration)
 {
     Configuration        = configuration;
     PossibleClientIdList = new List <string>();
     Profiles             = new Dictionary <uint, SpeechIdentifier.Profile>();
     IdentifyResults      = new Dictionary <string, SpeechIdentifier.InstanceResult>(StringComparer.OrdinalIgnoreCase);
     MetaData             = new Dictionary <string, string>();
     ExtraData            = new Dictionary <string, object>();
     Content = new SpeechContent();
     ResetIdentifier();
 }
Esempio n. 3
0
 internal ValueEnumerator(SpeechContent content)
 {
     mContent    = content;
     mEnumerator = content.GetEnumerator();
     Current     = null;
 }