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();
 }
示例#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();
 }
示例#3
0
 internal ValueEnumerator(SpeechContent content)
 {
     mContent    = content;
     mEnumerator = content.GetEnumerator();
     Current     = null;
 }