From ArchWiki
Jump to navigation Jump to search

Georgij Kondratjev


Aspell - spell checking for multiple languages

Aspell guesses the default dictionary by your environment variables. For example if LANG="ru_RU.UTF-8" (and you have installed "aspell-ru") then default dictionary will be "ru", so we will modify ru.multi.

cd /usr/lib/aspell
grep '^special' en.dat >>ru.dat
aspell dump master en >w.en
aspell dump master ru-yo >
cat w.en >w.all
aspell --lang=ru --encoding=UTF-8 create master ruen.rws < w.all
rm -f w.en w.all
echo "add ruen.rws" > ru.multi