A Simple Efficient C library for spell checking
1.0
Bash:
./speller [dictionary] text
Command-Line:
./speller.exe [dictionary] text
-
./speller
or./speller.exe
: Output File Name -
[dictionary]
: Dictionary File (optional) -
text
: Text file to be checked
0
Successfuly Executed
1
Invalid Argument Supplied
2
Failed to load/unload Dictionary from Memory
3
Failed to open Text File (PATH specified)
File Location: src/include/Dictionary.h
Include: #include "include/Dictionary.h"
- Returns true if word is in dictionary else false.
- Loads dictionary into memory. Returns true if successful else false.
- Returns number of words in dictionary if loaded else 0 if not yet loaded.
- Unloads dictionary from memory. Returns true if successful else false.