semvec/pypi-packages huggingface dataset:
word-identifiers 1.0.0
Provides a bijection between numbers and lists of english words.
Requires Python: >=3.5

# 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

```python
>>> from word_identifiers import words_to_id, id_to_words
>>> id_to_words(76985270495720357)
['head', 'dance', 'bully', 'race', 'gate', 'color']
>>> words_to_id(['head', 'dance', 'bully', 'race', 'gate', 'color'])
76985270495720357
```

## Wordlist

The wordlist used is [this public domain wordlist](https://raw.githubusercontent.com/MichaelWehar/Public-Domain-Word-Lists/master/5000-more-common.txt), compiled by [Michael Wehar](https://github.com/MichaelWehar/Public-Domain-Word-Lists).