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