bash - Spell checking - Ignore set of words -
i doing bash script check spelling on number of files.
i came across problem of telling aspell ignore set of words allow appear.
this same "ignore all" in interactive mode. not work need hand.
how can tell aspell ignore given set of words. there parameter can that. wish there option pass file words.
or might out there more efficient way scripting spell checking in bash?
easy: put words in personal dictionary: ~/.aspell.en.pws
first line
personal_ws-1.1 en 500
(500 number of words, doesn't need exact, aspell fix if add words aspell).
if need dictionary elsewhere, use options these:
aspell --home-dir=/dir/to/dict --personal=dict-file.txt
Comments
Post a Comment