ispell

How to remove an entry from ispell private dictionary?

只谈情不闲聊 提交于 2020-02-01 00:13:22
问题 I was wondering how could I remove one (wrongly inserted) entry/word from the ispell private-dictionary. EDIT after more digging i am still unable to delete entries from default dictionary, but I think the solution could be around buildhash program. The problem is to generate the list of entries to delete... i do not find a simple example. 回答1: On my cygwin install ispell is just a wrapper around aspell : $ ispell Ispell compatibility script for Aspell. Usage: /usr/bin/ispell [options] -a|-l|

How to define two ispell dictionaries in Emacs for LaTeX mode?

橙三吉。 提交于 2020-01-23 08:58:15
问题 I have a document with many quotations in a second language. How can I define this second language to Ispell? I have this in file top: %% Local IspellDict: brasileiro I tried this, but it didn't work: %% Local IspellDict: brasileiro, english 回答1: I have a way to toggle between two languages: ;; You should have aspell-ru and aspell-en packages installed (let ((langs '("english" "russian"))) (setq lang-ring (make-ring (length langs))) (dolist (elem langs) (ring-insert lang-ring elem))) (defun

How to define two ispell dictionaries in Emacs for LaTeX mode?

ⅰ亾dé卋堺 提交于 2020-01-23 08:55:14
问题 I have a document with many quotations in a second language. How can I define this second language to Ispell? I have this in file top: %% Local IspellDict: brasileiro I tried this, but it didn't work: %% Local IspellDict: brasileiro, english 回答1: I have a way to toggle between two languages: ;; You should have aspell-ru and aspell-en packages installed (let ((langs '("english" "russian"))) (setq lang-ring (make-ring (length langs))) (dolist (elem langs) (ring-insert lang-ring elem))) (defun

Where to find french dictionary for ispell?

為{幸葍}努か 提交于 2019-12-22 04:08:34
问题 I am editing documents in French with Emacs, ispell comes will English dictionary by default. When I try ispell-change-dictionary , it proposes francais-tex , francais7 and francais in the list. But after choosing anyone, and doing ispell-word , it tells me Error: The file "/usr/lib/aspell/francais" can not be opened for reading . Then I check the folder /usr/lib/aspell , indeed there is no "french" file in it. So could anyone tell me where to find these french dictionaries and put them in

Replacing 'i' with 'I' using Emacs ispell

安稳与你 提交于 2019-12-13 09:48:06
问题 I use ispell to do spell-checking, but it does not replace the word 'i' with 'I'. 回答1: With the following code flyspell at least shows such misspellings. The list is to be extended. (defvar flyspell-wrong-one-letters '("i")) (defadvice flyspell-word (before one-letter activate) "Check one-letter words" (when (and (if following (looking-at "\\<[[:alpha:]]\\>") (looking-back "\\<[[:alpha:]]\\>")) (member (match-string 0) flyspell-wrong-one-letters)) (setq known-misspelling t))) I just looked

how to get GNU Emacs spellcheck to find user's personal dictionary on OSX?

二次信任 提交于 2019-12-12 19:08:47
问题 I switched from Aquamacs to GNU Emacs. Before, when Aquamacs thought a word was misspelled, I could right-click to "Learn Spelling." (I also had an option to Ignore Spelling to get it to unflag the word for that buffer only.) In GNU Emacs, I'm using flyspell-mode with ispell, with aspell as the dictionary. But I notice that the words I previously added to my dictionary (e.g. my name) are getting flagged as misspelled. How do I get GNU Emacs to find and use the personal word list I've already

Postgresql fulltext search for words with apostrophes

喜你入骨 提交于 2019-12-12 12:28:12
问题 I'm working on building a customized ispell dictionary configuration for Postgresql 8.4 and am having some problems getting words with apostrophes in them to parse correctly. The ispell dictionaries included with Postgresql include an .affix files which contains a "M" SFX rule which specifies an expanded form of its word. Here is an example, assuming that I have dictionary/SM in my dictionary file: SELECT to_tsvector('english_ispell', 'dictionary''s dictionaries'); Expected output:

How can I spell check for multiple languages in emacs?

亡梦爱人 提交于 2019-12-09 15:12:03
问题 I write mostly my documentation in HTML using emacs as my main editor. Emacs let you interactively spell-check the current buffer with the command ispell-buffer . Since I switch between a number of languages, I have an HTML comment at the end of the file specifying the main dictionary and personal dictionary for that file, E.g. for Norwegian (norsk) I use the following pair of dictionaries: <!-- Local IspellDict: norsk --> <!-- Local IspellPersDict: ~/.aspell/personal.dict --> This works

How to define two ispell dictionaries in Emacs for LaTeX mode?

蓝咒 提交于 2019-12-05 18:09:14
I have a document with many quotations in a second language. How can I define this second language to Ispell? I have this in file top: %% Local IspellDict: brasileiro I tried this, but it didn't work: %% Local IspellDict: brasileiro, english Adobe I have a way to toggle between two languages: ;; You should have aspell-ru and aspell-en packages installed (let ((langs '("english" "russian"))) (setq lang-ring (make-ring (length langs))) (dolist (elem langs) (ring-insert lang-ring elem))) (defun cycle-ispell-languages () (interactive) (let ((lang (ring-ref lang-ring -1))) (ring-insert lang-ring

Where to find french dictionary for ispell?

折月煮酒 提交于 2019-12-05 02:32:30
I am editing documents in French with Emacs, ispell comes will English dictionary by default. When I try ispell-change-dictionary , it proposes francais-tex , francais7 and francais in the list. But after choosing anyone, and doing ispell-word , it tells me Error: The file "/usr/lib/aspell/francais" can not be opened for reading . Then I check the folder /usr/lib/aspell , indeed there is no "french" file in it. So could anyone tell me where to find these french dictionaries and put them in the folder? PS: I am using ubuntu... you need to install package like aspell-fr or something like. issue