Git Product home page Git Product logo

nomino's Introduction

Nomino

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.

Operations

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.

Install Nomino

git clone https://github.com/EtienneBarbier/nomino.git
cd nomino
pip install .

Run Nomino

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>

Example

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'}]

nomino's People

Contributors

etiennebarbier avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.