An open API service indexing awesome lists of open source software.

https://github.com/neguindev/word-corrector

Word Corrector is a simple JavaScript utility that takes an array of words and a query string as input and returns a list of words that closely match the query.
https://github.com/neguindev/word-corrector

Last synced: over 1 year ago
JSON representation

Word Corrector is a simple JavaScript utility that takes an array of words and a query string as input and returns a list of words that closely match the query.

Awesome Lists containing this project

README

          

# Word Corrector

## Description

Word Corrector is a simple JavaScript utility that takes an array of words and a query string as input and returns a list of words that closely match the query.

## Requirements

- Node.js

## Installation

Clone the repository:

```bash
git clone https://github.com/NeguinDev/word-corrector.git
```

## Usage

Run the script:

```bash
node index.js
```

## Features

- Takes an array of words and a query string as input.
- Returns a list of words that closely match the query.
- Sorts the results based on the number of matching characters.

## Contribution

Feel free to contribute to the project. Open a PR or an issue for discussions.

## License

ISC