Support typos with a levenshtein automata

This commit is contained in:
Kerollmops
2020-05-31 17:01:11 +02:00
parent 6c726df9b9
commit ba9527abc0
3 changed files with 60 additions and 28 deletions

10
Cargo.lock generated
View File

@ -361,6 +361,15 @@ version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "levenshtein_automata"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f44db4199cdb049b494a92d105acbfa43c25b3925e33803923ba9580b7bc9e1a"
dependencies = [
"fst",
]
[[package]]
name = "libc"
version = "0.2.70"
@ -403,6 +412,7 @@ dependencies = [
"fxhash",
"heed",
"jemallocator",
"levenshtein_automata",
"memmap",
"oxidized-mtbl",
"rayon",