[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ASCII folding library for Lua?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 26 Feb 2016 18:10:24 +0200
2016-02-26 17:47 GMT+02:00 Coda Highland <chighland@gmail.com>:
>
> On Feb 26, 2016 7:15 AM, "Dirk Laurie" <dirk.laurie@gmail.com> wrote:
>>
>> 2016-02-26 16:33 GMT+02:00 Alexander Gladysh <agladysh@gmail.com>:
>> > On Fri, Feb 26, 2016 at 4:45 PM, Richter, Jörg <Joerg.Richter@pdv-fs.de>
>> > wrote:
>> >>> I remember seeing an ASCII folding[1] module for Lua a few years ago.
>> >>
>> >> Do you mean Unidecode?
>>
>> I have occasionally needed the reverse: given a US-ASCII rendering
>> of a (usually well-known) word or name, reconstruct its original form.
>>
>
> Which is, of course, impossible in the general case, due to the mapping not
> being one-to-one. For example, resume vs. résumé, or expose vs. exposé.
I was thinking along the lines of Dostoyevsky, Pythagoras, al-Khowarizmi
etc. The sort of thing one can always Google.