[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: advice on hash tables?
From: |
Stefan Monnier |
Subject: |
Re: advice on hash tables? |
Date: |
Sat, 05 Jul 2014 09:27:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
>> If the mapping from traditional characters to simplified characters
^^
Is
>> a function?
> Is there a traditional-to-simplified reduction function?
No, I meant "it it", not "is there". "Function" was meant in the
set-theory sense. IOW, the question is whether a given traditional
character always maps to the same simplified character.
If it is, then you can write the mapping function. Such a function would
most naturally be implemented in Elisp as a char-table, which you can
auto-generate from your input data.
Stefan