Provides a bijection between numbers and lists of english words.
Project description
word_identifiers
This is a bijection between non-negative integers and lists of words, in English. This is useful to quickly make urls or tokens.
Usage
>>> from word_identifiers import words_to_id, id_to_words
>>> word_to_id(["hi", "bye", "world"])
148
Wordlist
The wordlist used is this public domain wordlist, compiled by Michael Wehar.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
word-identifiers-0.1.0.tar.gz
(6.5 kB
view hashes)