/suggest-it

Given a dictionary, give spelling suggestions.

Primary LanguageJavaScript

Suggest It

Build Status

Suggest similar words based on a dictionary.

Install

npm install suggest-it

Example usage

var dictionary = ['foo', 'bar', 'baz'];
var suggest = require('suggest-it')(dictionary);
suggest('food'); // foo