BenHanson / spell_check

Simple spell checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spell_check

Simple spell checker

Building

g++ -o spell_check main.cpp -std=c++20 -I ../lexertl17/include -I ../../boost_1_77_0

Usage

spell_check [pathname...] [(--word-regex|-w) <regex>] ((--dictionary|-d) <pathname to whitespace separated word list>)+

Note that if no pathnames are supplied, input is taken from stdin.

Dictionaries

Google: dictionary word list text file for sample dictionaries. If words in the dictionary are all lower case, then checking will be case insensitive or case sensitive otherwise.

About

Simple spell checker

License:Boost Software License 1.0


Languages

Language:C++ 100.0%