Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I tell aspell to ignore given set of words.

I do need pass that list as input parameter, so I don't need to put ignore all interactively.

As I have a loop for over 100 files in which I call aspell to check the syntax on each one.

share|improve this question
    
Please don't cross-post. –  Dennis Williamson Feb 9 '11 at 18:04
add comment

1 Answer

up vote 1 down vote accepted

Create a file similar to the following:

personal_ws-1.1 en 2
wlkju
yytuvze

Replace "en" with the language you're using and "2" with the number of words in the list. I've shown two nonsense words, but your list should consist of one word per line in a similar manner.

Save the file with a name such as .aspell.en.pws.

This is an example command using a personal word list such as the one above:

$ echo 'foo yytuvze bar baz banana wlkju' | aspell -a --personal=./.aspell.en.pws --dont-suggest
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6)
*
*
*
# baz 16
*
*
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.