[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to transform text before feeding it to ispell?
From: |
Marcin Borkowski |
Subject: |
Re: Is it possible to transform text before feeding it to ispell? |
Date: |
Tue, 08 Sep 2015 17:24:50 +0200 |
On 2015-09-08, at 15:06, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> Marcin Borkowski <mbork@mbork.pl> writes:
>
>> assume that I have an \(i\|hun\)spell dictionary in encoding X, and my
>> document is in encoding Y. Does Emacs have any facility for translating
>> the text before feeding it to ispell, and translating it back when
>> presenting alternatives?
>
> AFAIK ispell does that automatically (if it is not configured
> incorrectly). In particular, the encoding of dictionaries is part of
> their representation in Emacs - see `ispell-dictionary-base-alist'.
I see. (I very seldom use a spill chucker, maybe I should start?)
> What's your problem in concrete?
People writing "ą" (a letter existing in Polish, but outside ASCII) as
"/a" (i.e., slash and a, sometimes seen in old Polish-language TeX
documents) or ""a" (i.e., quotation mark and a, which is used by LaTeX
package "babel"). Not a typical "encoding", since it uses an "escape
char", but sometimes used (unfortunately).
> Michael.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- Re: google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), (continued)
- Re: google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Emanuel Berg, 2015/09/09
- Re: google-translate, Emanuel Berg, 2015/09/15
- Re: google-translate, Alex Kost, 2015/09/16
- Re: google-translate, Emanuel Berg, 2015/09/16
- Re: google-translate, Emanuel Berg, 2015/09/17
- Re: google-translate, Emanuel Berg, 2015/09/18
- Re: google-translate, Ian Zimmerman, 2015/09/19
- Re: google-translate, Emanuel Berg, 2015/09/19
- Re: google-translate, Emanuel Berg, 2015/09/19
Re: Is it possible to transform text before feeding it to ispell?, Michael Heerdegen, 2015/09/08
- Re: Is it possible to transform text before feeding it to ispell?,
Marcin Borkowski <=
Re: Is it possible to transform text before feeding it to ispell?, Eli Zaretskii, 2015/09/08