The Python package for generating random English words
You can install randword
package using pip
or easy_install
:
pip install randword
easy_install randword
You can also just clone the repository and run:
python setup.py install
See the documentation.
- A database of words for each part of the speech was taken from WordNet.
- Splitting words into different parts of speech is made possible by Chilli's answer on Stack Overflow.
- Surnames database was taken from this GitHub repo.
- Male and females names were taken from the website of Carnegie Mellon University.
- Countries database was taken from this GitHub gist.
- Cities database was taken from this GitHub gist.
- Magic 8-Ball answers were taken from Wikipedia page.
randword specific code is distributed under MIT License.
Copyright (c) 2022 Artyom Bezmenov