35 references to MatchMode
System.Speech (35)
Internal\GrammarBuilding\GrammarBuilderPhrase.cs (6)
34
_matchMode =
MatchMode
.OrderedSubset;
37
_matchMode =
MatchMode
.OrderedSubsetContentRequired;
40
_matchMode =
MatchMode
.Subsequence;
43
_matchMode =
MatchMode
.SubsequenceContentRequired;
48
private GrammarBuilderPhrase(string phrase, bool subsetMatching,
MatchMode
matchMode)
129
private readonly
MatchMode
_matchMode;
Internal\SrgsCompiler\Arc.cs (4)
56
internal Arc(string? sWord, Rule? ruleRef, StringBlob words, float flWeight, int confidence, Rule? specialRule,
MatchMode
matchMode, ref bool fNeedWeightTable)
61
private Arc(string? sWord, Rule? ruleRef, StringBlob words, float flWeight, int confidence, Rule? specialRule, uint iSerialize,
MatchMode
matchMode, ref bool fNeedWeightTable)
80
internal Arc(int iWord, float flWeight, int confidence, int ulSpecialTransitionIndex,
MatchMode
matchMode, ref bool fNeedWeightTable)
814
private
MatchMode
_matchMode;
Internal\SrgsCompiler\BackEnd.cs (5)
380
internal Arc SubsetTransition(string text,
MatchMode
matchMode)
419
Arc arc = new(null, ruleToTransitionTo, _words, flWeight, '\0', specialRuleTrans,
MatchMode
.AllWords, ref fNeedWeightTable);
908
newArc = new Arc(null, ruleToTransitionTo, _words!, flWeight, CfgGrammar.SP_NORMAL_CONFIDENCE, null,
MatchMode
.AllWords, ref _fNeedWeightTable);
914
newArc = new Arc((ulSpecialTransitionIndex != 0) ? 0 : (int)arc.TransitionIndex, flWeight, arc.LowConfRequired ? CfgGrammar.SP_LOW_CONFIDENCE : arc.HighConfRequired ? CfgGrammar.SP_HIGH_CONFIDENCE : CfgGrammar.SP_NORMAL_CONFIDENCE, ulSpecialTransitionIndex,
MatchMode
.AllWords, ref _fNeedWeightTable);
1265
Arc arc = new(s, null, _words, flWeight, requiredConfidence, null,
MatchMode
.AllWords, ref _fNeedWeightTable);
Internal\SrgsCompiler\SrgsElementCompilerFactory.cs (1)
80
ISubset IElementFactory.CreateSubset(IElement parent, string text,
MatchMode
mode)
Internal\SrgsCompiler\Subset.cs (1)
19
public Subset(ParseElementCollection parent, Backend backend, string text,
MatchMode
mode)
Internal\SrgsParser\IElementFactory.cs (1)
23
ISubset CreateSubset(IElement parent, string text,
MatchMode
matchMode);
Internal\SrgsParser\SrgsDocumentParser.cs (6)
231
MatchMode
matchMode =
MatchMode
.Subsequence;
236
matchMode =
MatchMode
.OrderedSubset;
240
matchMode =
MatchMode
.OrderedSubsetContentRequired;
244
matchMode =
MatchMode
.Subsequence;
248
matchMode =
MatchMode
.SubsequenceContentRequired;
Internal\SrgsParser\XmlParser.cs (6)
860
MatchMode
matchMode =
MatchMode
.Subsequence;
877
matchMode =
MatchMode
.Subsequence;
881
matchMode =
MatchMode
.OrderedSubset;
885
matchMode =
MatchMode
.SubsequenceContentRequired;
889
matchMode =
MatchMode
.OrderedSubsetContentRequired;
Recognition\SrgsGrammar\SrgsElementFactory.cs (5)
119
ISubset IElementFactory.CreateSubset(IElement? parent, string text,
MatchMode
matchMode)
125
case
MatchMode
.OrderedSubset:
129
case
MatchMode
.OrderedSubsetContentRequired:
133
case
MatchMode
.Subsequence:
137
case
MatchMode
.SubsequenceContentRequired: