这里是我的设置为安博泰OSX和Windows笔记 - 在该链接的线程所阐述的指令用于设置用户的个人词典:在
https://stackoverflow.com/a/20013202/2112489
的个人词汇表安博泰是包含的内容,看起来像这样的纯文本文件,并且可以手动插入任何字 - 包括但超过不限于复制列表从本地OSX拼写检查~/Library/Spelling/LocalDictionary
内容:
personal_ws-1.1 en 79
lawlist
realleges
parte
而且,在我.emacs
,我用(相应地调整自己的路):
(require 'ispell)
(require 'flyspell)
(setq-default ispell-program-name "/Users/HOME/.0.data/.0.emacs/elpa/bin/aspell")
(setq flyspell-default-dictionary "english")
(setq ispell-dictionary "english")
这是我用西班牙语和英语之间切换的功能:
(defun spell (choice)
"Switch between language dictionaries."
(interactive "cChoose: (1) English | (2) Español")
(cond ((eq choice ?1)
(setq flyspell-default-dictionary "english")
(setq ispell-dictionary "english")
(setq ispell-personal-dictionary "/Users/HOME/.0.data/.0.emacs/.aspell.en.pws")
(ispell-kill-ispell))
((eq choice ?2)
(setq flyspell-default-dictionary "spanish")
(setq ispell-dictionary "spanish")
(setq ispell-personal-dictionary "/Users/HOME/.0.data/.0.emacs/.aspell.es.pws")
(ispell-kill-ispell))
(t (message "No changes have been made."))))
对于Windows,我用:
(setq-default ispell-program-name "c:/Program Files/Aspell/bin/aspell.exe")
Aquamacs使用本机OSX拼写检查器,其中用户个人字典存储在:'〜/ Library/Spelling/LocalDictionary'。 – lawlist