C# Class WinRTXamlToolkit.Controls.AutoCompleteTextBox.PrefixSuggestion

Algorithm implementation for AutoCompleteTextBox that scores suggestions from the dictionary based on the Damerau-Levenshtein distance.
Inheritance: AutoCompletable
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Méthode Description
GetSuggestedWords ( string wordToSuggest, ICollection suggestionDictionary ) : IList

Gets a list of suggested word completions for the specified word, given a dictionary of words.

Private Methods

Méthode Description
GetSuggestionPrefixScore ( string wordToSuggest, string suggestion ) : ScoredString

Method Details

GetSuggestedWords() public méthode

Gets a list of suggested word completions for the specified word, given a dictionary of words.
public GetSuggestedWords ( string wordToSuggest, ICollection suggestionDictionary ) : IList
wordToSuggest string Word/string to get suggestions for.
suggestionDictionary ICollection Dictionary of words to select suggestions from.
Résultat IList