A simple name generator in the syle of <adjective> <noun> like mad zebra 🤪 🦓.
I created it to give different runs of machine learning algorithms distinctive names I can remember.
Install using
pip install runnamegen
In python file just
from runnamegen import generate
Then use
name = generate()
to get a runname as string.
You can also choose a delimiter:
name = generate("-")
There are some commands:
runnamegen generate
generate runname and display in terminal.
runnamegen generate -n <integer>
generate n-times a runname and display them in terminal.
runnamegen generate _
generate runname with _ as delimiter and display in terminal.
runnamegen generate -
generate runname with - as delimiter and display in terminal.
runnamegen alliteration on/off
turn on or off alliteration mode.
runnamegen alphabet on/off
turn on or off alphabet mode (nouns in alphabetical order).
runnamegen exclude <noun_category>
excludes specific noun-category such as pokemon.
runnamegen include <noun_category>
includes specific noun-category such as pokemon.
runnamegen add-nouns <filename>
adds noun file. Needs to be .txt where each word is seperated by a line break.
runnamegen add-adjectives <filename>
adds adjective file. Needs to be .txt where each word is seperated by a line break.
runnamegen cleanup
cleans up the files such that there are no words which are two words and all are lowercase.
I got the current set of words from https://github.com/gambolputty/textstelle and some more adjectives from here https://gist.github.com/hugsy/8910dc78d208e40de42deb29e62df913
I did not go over the list of words completely personally. If there are any nouns or adjectives in the current list which you find harmful please create a pull request for deleting this word.