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.
- Host: GitHub
- URL: https://github.com/neguindev/word-corrector
- Owner: NeguinDev
- Created: 2022-06-06T05:59:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-29T04:39:06.000Z (almost 3 years ago)
- Last Synced: 2025-02-11T10:46:55.360Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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