Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove an entry from ispell private dictionary?

I was wondering how could I remove one (wrongly inserted) entry/word from the ispell private-dictionary.

EDIT

after more digging i am still unable to delete entries from default dictionary, but I think the solution could be around buildhash program. The problem is to generate the list of entries to delete... i do not find a simple example.

like image 698
fransua Avatar asked Mar 27 '12 11:03

fransua


2 Answers

If you are using Emacs, it creates its own personal dictionary file under what Emacs sees as ~/.aspell.[LANGUAGE].pws. On Windows this happens to be: C:\Users\Username\AppData\Roaming\. This is probably just an effect of the environment Emacs runs the dictionary under. To edit it in Emacs, you can use the tilde *nix style path, as well as the absolute DOS style path.

like image 42
Sardtok Avatar answered Sep 18 '22 01:09

Sardtok


You should just be able to edit your personal dictionary file to remove the unwanted entry. The dictionary file is a text file, probably located at ~/.ispell_default, or ~/.ispell_[LANGUAGE], e.g. ~/.ispell_italian.

like image 51
Luke Girvin Avatar answered Sep 18 '22 01:09

Luke Girvin