var swype = new MatchSwipeType(File.ReadAllLines("wordlist.txt")); // File with a list of words
string testCases = "heqerqllo";
foreach (var x in swype.GetSuggestion(testCases, 2))
{
Console.WriteLine(x);
//Output:
//hello
//hero
}
neargye / swipetype Goto Github PK
View Code? Open in Web Editor NEWImplementing same algorithm "swype keyboard" for .NET and Unity
License: Apache License 2.0