public IEnumerable <DictionaryTerm> GetTerms(ITermMatcher matcher) { // var decodingMatcher = encoding.CreateMatcher(matcher.ToDfaMatcher(), maxTokenByteLength); foreach (var term in fst.Match(matcher.ToDfaMatcher()) .Select(p => new string(p.ToArray()))) { yield return(GetTerm(term)); } }