past/spellcheck

How to plugin the custom dictionary?

Opened this issue · 1 comments

Hi,

Not an issue really. I want to know how to use a custom dictionary ( and the format) with this Rust program. I have a list of words in a csv/txt file. Can use that as a dictionary? And any guideline on that?

Note : I am new to Rust and usually try to learn a language through the small projects.

Regards

Prabhat

past commented

Just building and running the speller program will show you the command line parameter to pass in a custom dictionary file. The format of the file is just a whitespace-separated list of words. See training.txt for an example.