pokemon-name-generator

A tool to create new Pokémon names

MIT License

Downloads
3.3K
Stars
3
Committers
1

Pokémon Name Generator

A command line ruby utility to generate fake (and sometimes accidentally real) Pokémon names.

Installation

Install the utility with

$ gem install pokemon_name_generator

Usage

Once installed, you will have the command pokeng available.

Usage can be very simple.

$ pokeng generate

You can choose between algorithms.

$ pokeng generate --algorithm=naive
$ pokeng generate --algorithm=markov

Some algorithms have additional configuration options.

$ pokeng generate --algorithm=markov --context=2

You can also produce a number of names at once. Useful for exporting to other apps.

$ pokeng generate --algorithm=markov --context=3 --number=100000 --quiet > generated_names.txt

The default options are chosen to produce the most realistic names.

Testing an Algorithm

You can put an algorithm through a testbed to find out how well it performs. It counts how many times an actual Pokémon name is produced (from the test and training data seperately) and how often a overly long or short name is produced.

$ pokeng test --algorithm=markov --context=2 --number=500000