51 references to AlphabetType
System.Speech (51)
Internal\SrgsCompiler\BackEnd.cs (4)
1070header.GrammarOptions = _grammarOptions | ((_alphabet == AlphabetType.Sapi) ? 0 : GrammarOptions.IpaPhoneme); 1311internal AlphabetType Alphabet 1384private AlphabetType _alphabet = AlphabetType.Sapi;
Internal\SrgsCompiler\GrammarElement.cs (1)
159AlphabetType IGrammar.PhoneticAlphabet
Internal\SrgsCompiler\SrgsElementCompilerFactory.cs (3)
266case AlphabetType.Sapi: 270case AlphabetType.Ipa: 275case AlphabetType.Ups:
Internal\SrgsParser\IGrammar.cs (1)
22AlphabetType PhoneticAlphabet { set; }
Internal\SrgsParser\XmlParser.cs (3)
392grammar.PhoneticAlphabet = AlphabetType.Ipa; 398grammar.PhoneticAlphabet = AlphabetType.Sapi; 404grammar.PhoneticAlphabet = AlphabetType.Ups;
Internal\Synthesis\ISSmlParser.cs (1)
26void ProcessPhoneme(ref FragmentState fragmentState, AlphabetType alphabet, string ph, char[] phoneIds);
Internal\Synthesis\SSmlParser.cs (10)
723AlphabetType alphabet = AlphabetType.Ipa; 740alphabet = AlphabetType.Ipa; 746alphabet = AlphabetType.Sapi; 752alphabet = AlphabetType.Ups; 785case AlphabetType.Sapi: 789case AlphabetType.Ups: 791alphabet = AlphabetType.Ipa; 794case AlphabetType.Ipa: 812alphabet = AlphabetType.Sapi;
Internal\Synthesis\TextFragmentEngine.cs (1)
154public void ProcessPhoneme(ref FragmentState fragmentState, AlphabetType alphabet, string ph, char[] phoneIds)
Internal\Synthesis\TextWriterEngine.cs (5)
153public void ProcessPhoneme(ref FragmentState fragmentState, AlphabetType alphabet, string ph, char[] phoneIds) 156if (alphabet != AlphabetType.Ipa) 158_writer.WriteAttributeString("alphabet", alphabet == AlphabetType.Sapi ? "x-microsoft-sapi" : "x-microsoft-ups"); 159System.Diagnostics.Debug.Assert(alphabet == AlphabetType.Ups || alphabet == AlphabetType.Sapi);
Internal\Synthesis\TTSEngineProxy.cs (10)
22internal abstract char[]? ConvertPhonemes(char[] phones, AlphabetType alphabet); 23internal abstract AlphabetType EngineAlphabet { get; } 73internal override char[]? ConvertPhonemes(char[] phones, AlphabetType alphabet) 75if (alphabet == AlphabetType.Ipa) 85internal override AlphabetType EngineAlphabet 89return AlphabetType.Ipa; 173internal override AlphabetType EngineAlphabet 177return AlphabetType.Sapi; 181internal override char[]? ConvertPhonemes(char[] phones, AlphabetType alphabet) 183if (alphabet == AlphabetType.Ipa)
Internal\Synthesis\VoiceSynthesis.cs (1)
899if ((_ttsInterest & (1 << (int)TtsEventId.Phoneme)) != 0 && engineProxy.EngineAlphabet != AlphabetType.Ipa)
Recognition\SrgsGrammar\SrgsDocument.cs (2)
174_grammar.PhoneticAlphabet = (AlphabetType)value; 303PhoneticAlphabet = AlphabetType.Sapi
Recognition\SrgsGrammar\SrgsElementFactory.cs (3)
63case AlphabetType.Sapi: 67case AlphabetType.Ipa: 71case AlphabetType.Ups:
Recognition\SrgsGrammar\SrgsGrammar.cs (3)
161PhoneticAlphabet = AlphabetType.Sapi; 329public AlphabetType PhoneticAlphabet 333return (AlphabetType)_phoneticAlphabet;
Recognition\SrgsGrammar\SrgsToken.cs (3)
129case AlphabetType.Sapi: 133case AlphabetType.Ups: 137case AlphabetType.Ipa: