Good day,
Does anyone know about the "over-the-counter" Levanshtein implementation of DFA (deterministic finite state machines) in .NET (or is it easy to translate to it)? I have a very large dictionary with more than 160,000 different words, and I want, given the official word w, to find all known words at a Levenshtein distance of no more than 2 of w in an effective way.
Of course, having a function that calculates all possible changes at an editing distance, one of the given word and again applying it to each of these changes solves the problem (and quite simply). The problem is efficiency - given a 7-letter word, it may take 1 second already, and I need something much more efficient, if possible, as is the case with Levenshtein DFA, a decision that O (| w | )
Editing: I know that I can work a little on the problem, but at the moment I can not afford to read articles with a 60-page edition of Schultz and Mikhov.
Many thanks.
Miguel
source share