strprox
strprox is a library that currently allows for top-k string autocompletion.
This is intended to implement the top-k "matching-based framework for error-tolerant autocompletion" algorithm from the paper by Deng et al. (see the Citations)
Table of Contents
Example
use Autocompleter;
Notes
Autocompleter
is currently a generic struct that limits the length of referenced strings to u8::MAX
and maximum number of referenced strings to u32::MAX
by default for space efficiency. A macro can be added later to instantiate it for other unsigned types.
Some of the tests require a file named words.txt
file (highlighted link) in src/tests
.
Citations
This paper is also available from the conference website here.
License
Dual-licensed under MIT and Apache-2.0. You may choose either license.
Contributions
Contributions to this project are likewise understood to be dual-licensed under MIT and Apache-2.0.