Re: Universal mapping of words to integers


2012/5/18 Michael Schneider <>

> Try this Wikipedia page instead:
>    <**Lexicographical_order<>
> >
A mapping of integers to words based on their lexicographical order is only
universal for a fixed set of words.  The criteria that the OP offers, if I
understand them correctly, neither seem to be intrinsic and exact
properties of words, but circumstantial properties.

For a universal mapping, given words formed out of 26 characters, I would
go for a base 26 numeration system approach. Of course, no word semantics
in the mapping.

Enrique Pérez Arnaud

Received on Friday, 18 May 2012 14:54:51 UTC