Hunspell емлені тексеру бағдарламасын пайдалану
First of all, you should install hunspell and after that add Greek Dictionary
sudo apt орнатыңыз hunspell
Хунспелл сөздіктерінің жолына грек сөздігін жүктеп алып, қосыңыз
cp el_GR.dic el_GR.aff /usr/share/hunspell
Хэнспеллды терминалда сынап көрейік:
hunspell -d el_GR
содан кейін грек сөзін теріңіз.
Secondly, it be required ispell and flycheck emacs' packages as also a bit configuration in init.el
Жергілікті сөздікті испан тіліне аудару үшін грек және ағылшын тілдерін қосыңыз
(require 'ispell)
(add-to-list 'ispell-local-dictionary-alist '("greek-hunspell"
"[[:alpha:]]"
"[^[:alpha:]]"
"[']"
t
("-d" "el_GR"); Dictionary file name
nil
iso-8859-1))
(add-to-list 'ispell-local-dictionary-alist '("english-hunspell"
"[[:alpha:]]"
"[^[:alpha:]]"
"[']"
t
("-d" "en_US")
nil
iso-8859-1))
(setq ispell-program-name "hunspell" ; Use hunspell to correct mistakes
ispell-dictionary "english-hunspell") ; Default dictionary to use
Сөздіктерді ауыстыруға арналған функцияны анықтаңыз
(defun fd-switch-dictionary()
"Switch greek and english dictionaries."
(interactive)
(let* ((dict ispell-current-dictionary)
(new (if (string= dict "greek-hunspell") "english-hunspell"
"greek-hunspell")))
(ispell-change-dictionary new)
(message "Switched dictionary from %s to %s" dict new)))
(global-set-key (kbd "") 'fd-switch-dictionary)
Сөздікті ауыстыру үшін emacs пайдалануда F8 мәтіндік файлды ашыңыз және flyspell шағын режимін қосыңыз
M-x флеш-режимі
Бұл көмектеседі деп сенемін.