Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 873 Bytes

File metadata and controls

21 lines (17 loc) · 873 Bytes

turkish-spellchecker

A spellchecker project for Turkish language using Hunspell dictionaries and spell checker. Project kicked by Codefiction Community while translating typescript-book to Turkish.

How to run

npm install
npm start

How to use?

// Look for any file with .md extension in the 'path' and exclude node_modules folder.
const fileLoader = new FileLoader(path, /.md$/, ['node_modules']); 
const spellChecker = new SpellChecker();

const checker: SpellCheckerManager = new SpellCheckerManager(fileLoader, spellChecker);

checker.CheckSpelling(); // console logs all the errors found.

What's next

This repository still in progress, and will be converted into an NPM package. Tests are missing, which means still not stable.