Skip to content

A custom spellcheck that takes an input dictionary and outputs statistics such as misspelled words, words contained in dictionary and loading time etc.

Notifications You must be signed in to change notification settings

vynride/speller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

To print out mispelled words along with statistics
./speller dictionaries/large {path_to_text_file}.txt

Examples:

  • Spell check texts/shakespeare.txt
    ./speller dictionaries/large texts/shakespeare.txt

  • Spell check texts/frankenstein.txt
    ./speller dictionaries/large texts/frankenstein.txt

Example Output:

misspelled_word_1
misspelled_word_2
misspelled_word_3

WORDS MISSPELLED:     955
WORDS IN DICTIONARY:  143091
WORDS IN TEXT:        17756
TIME IN load:         0.06
TIME IN check:        0.03
TIME IN size:         0.00
TIME IN unload:       0.01
TIME IN TOTAL:        0.10

About

A custom spellcheck that takes an input dictionary and outputs statistics such as misspelled words, words contained in dictionary and loading time etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published