Domanda

I need an aproximate spell checker, because I write often in French, without having a French keyboard.

One way that I write French is to use C-x 8 ' e for combinations, but it is too tiring to use it many times.

Another way is to write the word incorrectly, and press ispell-word, for it to correct it. For example, 'j'ai marchee' , in order to write "j'ai marché". I have to press this combination, because if I write "j'ai marche", the spell checker does not find the semantical error. It checks only the syntax.

I would like to ask if a spell checker exists in Emacs, where I can press "j'ai marche", and it finds all approximate matches, including the "j'ai marché". It is tiring to press 'ee' many times (many times I cannot find an approximate bad form that can be completed to some correct form in the way I need).

Or, I am interested about another way in emacs to write conveniently in French, using a British keyboard...

È stato utile?

Soluzione

I do not think that there is such a spell checker. It's probably very hard to write one, as good approximate suggestions require a somewhat deep understanding of the language in question, and natural language processing is quite a complex topic.

However, there is a somewhat simpler approach to writing French (or generally a foreign language) on a US keyboard: Just switch to an appropriate input method with C-\.

Emacs comes with a large selection of alternative input methods, for a wide range of languages and scripts, including Kyrillic, Korean, Chinese, etc. A good one for writing French text is probably latin-1-prefix.

This input method let's you type accented characters by typing the accent first, and then the character. For instance, typing ' first and then a afterwards inserts á into the buffer. Likewise, ` and then a inserts à. I use this method frequently to write German on a US keyboard.

For more information, consult International Character Sets and Input Methods in the Emacs manual.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top