Levenshtein DFA in .NET

前端 未结 6 1492
广开言路
广开言路 2021-02-04 18:43

Good afternoon,

Does anyone know of an \"out-of-the-box\" implementation of Levenshtein DFA (deterministic finite automata) in .NET (or easily translatable to i

6条回答
  •  清酒与你
    2021-02-04 19:23

    I understand you want to find near matches in a big dictionary. Here's the way I do it. link.

    From what I'm able to figure out about DFA, I can't see how it's any better, or even actually any different, under the skin. NFAs might be faster, but that's because they don't exist. Maybe I'm wrong.

提交回复
热议问题