internal List <string> SuggestSimilar(string prefix, int maxItems) { var items = spellChecker.SuggestSimilar(prefix, maxItems, null, null, true).ToList(); if (spellChecker.Exist(prefix)) { items.Add(prefix); } return(items); }
public Exist ( System word ) : bool | ||
word | System | String /// |
return | bool |
internal List <string> SuggestSimilar(string prefix, int maxItems) { var items = spellChecker.SuggestSimilar(prefix, maxItems, null, null, true).ToList(); if (spellChecker.Exist(prefix)) { items.Add(prefix); } return(items); }