Hi i have followed the below procedure to enable my custom dictionary only.
Creation of custom dictionary:
1. Create a file called custom.txt in your home directory
touch ~/custom.txt
- Add the words that you'd like to add to the dictionary, where each word is on a separate line, then run the following command
sudo aspell --lang=en create master /usr/lib/aspell/custom.rws < ~/custom.txt
To finish adding it to the dictionary change into the dictionary directory by running the following:
cd /usr/lib/aspell/
then edit the following file:
en.multi
and add the following line:
add custom.rws
5 .Then the new words should be available to you in Aspell. If you want to add words to this list in future, edit the ~/custom.txt
file and run this command again:
sudo aspell --lang=en create master /usr/lib/aspell/custom.rws < ~/custom.txt
Removing default english dictionary:
Open usr/lib/aspell/en.multi
file. And comment the following line
#add en-wo_accents.multi
Then the custom words only should be available to you in Aspell.