Suggest Go Suggest Save

Top-k Approximate String Matching.

Project README

Suggest

Library for Top-k Approximate String Matching, autocomplete and spell checking.

Build Status Go Report Card GoDoc

The library was mostly inspired by

Docs

See the documentation with examples demo and API documentation.

Demo

Fuzzy string search in a dictionary

The demo shows an approximate string search in a vehicle dictionary with more than 2k model names.

You can also run it locally

$ make build
$ ./build/suggest eval -c pkg/suggest/testdata/config.json -d cars -s 0.5 -k 5

or by using Docker

$ make build-docker
$ docker run -p 8080:8080 -v $(pwd)/pkg/suggest/testdata:/data/testdata suggest /data/build/suggest service-run -c /data/testdata/config.json

Suggest eval Demo

Spellchecker

Spellchecker recognizes a misspelled word based on the context of the surrounding words. In order to run a spellchecker demo, please do the next

$ make build
$ ./build/./spellchecker eval -c lm-folder/config.json

Spellchecker eval Demo

Contributions

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Open Source Agenda is not affiliated with "Suggest Go Suggest" Project. README Source: suggest-go/suggest

Open Source Agenda Badge

Open Source Agenda Rating