1.0.2 • Published 3 years ago

hash-speller-js v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

hash-speller-js

This is a package that performs spell checking on a given chunk of text in the provided language. The python equivalent is here.

Why would I use this particular package?

Well, because it uses hash tables as its core data structure, which means once loading everything in, the speed of looking up any word would be nearly constant, O(1).

Installation

npm i hash-speller-js

Usage

import { Checker } from "spellerjs";

const checker = new Checker("<language>", "text you want to check");
checker.check(true /* if you want the stats to be printed out */);
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago