UgurAldanmaz / turkish-spellchecker

This repo is in progress ---- A spellchecker project for Turkish language using Hunspell Edit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

This repo is in progress ---- A spellchecker project for Turkish language using Hunspell Edit.


Languages

Language:TypeScript 100.0%