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