[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: |
Tassilo Horn |
Subject: |
Re: Is it possible to transform text before feeding it to ispell? |
Date: |
Tue, 08 Sep 2015 13:45:52 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Alexis <flexibeast@gmail.com> 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?
>
> i don't know about ready-made solutions for this, but perhaps
> something could be built around the `google-translate` package that's
> available from MELPA and Marmalade?
I'm pretty sure Marcin means something else when he says translating,
i.e., translating from one encoding to another encoding, not translating
between languages. For example, one might have the German word
"m{\"a}{\ss}igen" in a ASCII-encoded TeX buffer and what should actually
be passed to ispell/hunspell is "mäßigen" in UTF-8 encoding where the
translation would be `iso-tex2iso' and `iso-iso2tex'.
Bye,
Tassilo
- Is it possible to transform text before feeding it to ispell?, Marcin Borkowski, 2015/09/08
- Re: Is it possible to transform text before feeding it to ispell?, Alexis, 2015/09/08
- Re: Is it possible to transform text before feeding it to ispell?,
Tassilo Horn <=
- google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Emanuel Berg, 2015/09/08
- Re: google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Andrey Tykhonov, 2015/09/09
- 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