Skip to content

Commit

Permalink
Updated README spellchecker info
Browse files Browse the repository at this point in the history
  • Loading branch information
alldroll committed Nov 22, 2019
1 parent 5140b9e commit eb2eb78
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ See the [documentation](https://suggest-go.github.io/) with examples demo and AP

## Demo

#### Fuzzy string search in a dictionary

The [demo](https://suggest-go.github.io/docs/demo/suggest.html) shows approximate string search in a dictionary with more than 200k English words.

You can also run it locally
Expand All @@ -37,6 +39,19 @@ $ docker run -p 8080:8080 -v $(pwd)/pkg/suggest/testdata:/data/testdata suggest

![Suggest eval Demo](suggest-eval.gif)

#### Spellchecker

In order to run spellchecker demo for language, do the next

* Download an English [language model](https://app.box.com/s/elogon8jdimqjdvfncr06b0qjngasljc) built on [Blog Authorship Corpus](http://u.cs.biu.ac.il/~koppel/BlogCorpus.htm)
* Extract downloaded language model and perform
```
$ make build
$ ./build/./spellchecker eval -c lm-folder/config.json
```

![Spellchecker eval Demo](spellchecker-eval.gif)

## 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.
Binary file added spellchecker-eval.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb2eb78

Please sign in to comment.