From: Marcin Borkowski <mbork@mbork.pl>
To: help-gnu-emacs@gnu.org
Subject: Re: Is it possible to transform text before feeding it to ispell?
Date: Tue, 08 Sep 2015 17:24:50 +0200 [thread overview]
Message-ID: <87d1xt3pdp.fsf@mbork.pl> (raw)
In-Reply-To: <87zj0x12ns.fsf@web.de>
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
next prev parent reply other threads:[~2015-09-08 15:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 8:29 Is it possible to transform text before feeding it to ispell? Marcin Borkowski
2015-09-08 10:19 ` Alexis
2015-09-08 11:45 ` Tassilo Horn
2015-09-08 22:40 ` google-translate (was: Re: Is it possible to transform text before feeding it to ispell?) Emanuel Berg
2015-09-09 7:18 ` Andrey Tykhonov
2015-09-10 0:51 ` Emanuel Berg
2015-09-16 3:01 ` google-translate Emanuel Berg
2015-09-16 12:22 ` google-translate Alex Kost
2015-09-16 23:29 ` google-translate Emanuel Berg
2015-09-17 22:32 ` google-translate Emanuel Berg
2015-09-19 0:09 ` google-translate Emanuel Berg
2015-09-19 4:17 ` google-translate Ian Zimmerman
2015-09-19 15:03 ` google-translate Emanuel Berg
2015-09-19 15:25 ` google-translate Emanuel Berg
2015-09-08 13:06 ` Is it possible to transform text before feeding it to ispell? Michael Heerdegen
2015-09-08 15:24 ` Marcin Borkowski [this message]
2015-09-08 17:39 ` Eli Zaretskii
2015-09-08 15:54 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d1xt3pdp.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).