1 instantiation of WordsSegmenter
PresentationFramework (1)
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
105
return new
WordsSegmenter
(language);
12 references to WordsSegmenter
PresentationFramework (12)
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
95
public static
WordsSegmenter
Create(string language, bool shouldPreferNeutralSegmenter = false)
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (11)
82
_spellCheckers = new Dictionary<CultureInfo, Tuple<
WordsSegmenter
, SpellChecker>>();
339
WordsSegmenter
wordBreaker = null;
347
wordBreaker =
WordsSegmenter
.Create(culture.Name, shouldPreferNeutralSegmenter:true);
395
_spellCheckers[culture] = new Tuple<
WordsSegmenter
, SpellChecker>(wordBreaker, spellChecker);
431
var
wordBreaker = CurrentWordBreaker ?? DefaultCultureWordBreaker;
783
foreach (Tuple<
WordsSegmenter
, SpellChecker> item in _spellCheckers.Values)
872
private
WordsSegmenter
CurrentWordBreaker
888
private
WordsSegmenter
DefaultCultureWordBreaker
927
private Dictionary<CultureInfo, Tuple<
WordsSegmenter
, SpellChecker>> _spellCheckers;
1126
public SpellerSentence(string sentence,
WordsSegmenter
wordBreaker, SpellChecker spellChecker, WinRTSpellerInterop owner)
1176
private
WordsSegmenter
_wordBreaker;