Hindi Spell-check and Auto-suggest in Emacs
Spellcheck
Install aspell
sudo apt install aspell
Install Hindi dictionary for aspell from https://ftp.gnu.org/gnu/aspell/dict/0index.html . Use the latest filenames instead of aspell6-hi-0.02-0.tar.bz2 in following commands.
bunzip2 aspell6-hi-0.02-0.tar.bz2
tar xvf aspell6-hi-0.02-0.tar
cd aspell6-hi-0.02-0/
./configure
make
sudo make install
Dictionary values are hard-coded in Emacs code. We need to query aspell for the newly installed dictionary. Add this in ~/.emacs
(setq ispell-aspell-dictionary-alist nil)
In Emacs, select Hindi dictionary via M-x ispell-change-dictionary. Then you can use spell check shortcut M-$ for Hindi.
Side note: For some reason Indian fonts are not rendered correctly in the browsers
in Linux. Changing the default fonts used by the browsers to Noto Sans Devanagari or Lohit-Devanagari solves it.
Comments
Post a Comment