package spelll
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=5be47bca50e0c92e1f029b3bb3ee5abc
sha512=6a7f0e6434b952819a90c05a7f6b28e12d1cd98bbb626d1e0f098bfdf95e8d910962261f332b48b7e277b72514ca224ecea964dcdd481b91924b35b1a099e786
Description
README
Spelll 
Fuzzy string searching, using Levenshtein automaton. Can be used for spell-checking.
API documentation can be found here, and the source code here.
Some examples:
# #require "spelll";;
# let dfa = Spelll.of_string ~limit:1 "hello";;
val dfa : Spelll.automaton = <abstr>
# Spelll.match_with dfa "hell";;
- : bool = true
# Spelll.match_with dfa "hall";;
- : bool = false
# let idx = Spelll.Index.of_list ["hello", "world"; "hall", "vestibule"];;
val idx : string Spelll.Index.t = <abstr>
# Spelll.Index.retrieve_l idx ~limit:1 "hell" ;;
- : string list = ["world"; "vestibule"]
# Spelll.Index.retrieve_l idx ~limit:1 "hall" ;;
- : string list = ["vestibule"]License
This software is free, under the BSD-2 license. See the LICENSE file.
Build
You only need OCaml (>= 4.02 should be enough) and dune and seq. Type
$ make
$ make install
Dependencies (4)
- stdlib-shims
- seq
-
dune
>= "1.1" -
ocaml
>= "4.03"
Optional Dependencies
None
Used by (4)
- docfd
- dolmen_type
-
forester
>= "5.0" - soupault
Conflicts
None
Build status
Results of building spelll with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.4 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure