The goal of Nomino is to generate words based on number of syllables.
This tool is a remake of an old tool which no longer exists Nomino
developed by Carrapide Tech
.
Words are generated by generate many syllables.
Syllables are generated following dictionary file.
This file described which letter or group of letter you want to see in syllable.
Letters (and groups) are sorted by type, vowel or consonant and each entry have weight for the draw.
As is, we can try to imitate a specific language as English, French or another one.
git clone https://github.com/EtienneBarbier/nomino.git
cd nomino
pip install .
python -m nomino
$ python -m nomino --help
Nomino Tool
Usage:
nomino.py -h
nomino.py
nomino.py -f <dictionary_file> -s <number_of_syllables> -n <number_of_words>
nomino.py -d <dictionary_directory>
Options:
-h --help Display this current view.
-f --dictionary-file=<file> (=dictionaries/nomino.json) Use given <file> as dictionary.
-s --number-of-syllables=<number> (=2) Number of syllables for generated words.
-n --number-of-words=<number> (=1) Number of generated words.
-d --dictionaries-directory=<directory> Display dictionaries informations for given <directory>
To generate 5 words with 3 syllables.
$ python nomino.py -s 3 -n 5
leqavy
papullif
goossatooz
tahugguj
ozakot
To get all available dictionaries.
$ python nomino.py -d dictionaries
[{'name': 'English', 'id': 'english'}, {'name': 'Français', 'id': 'french'}, {'name': 'Nomino', 'id': 'nomino'}]