Example #1
0
        public bool SetVocabularyFromFile(String VocFilename)
        {
            pxcmStatus sts = sr.AddVocabToDictation(PXCMSpeechRecognition.VocabFileType.VFT_LIST, VocFilename);

            if (sts < pxcmStatus.PXCM_STATUS_NO_ERROR)
            {
                return(false);
            }

            return(true);
        }