Skip to content

sgalella/MiddleEarth-NameGenerator

Repository files navigation

Middle-Earth Name Generator

Neural network to generate new character names from Middle-earth.

Data

Data obtained from Tolkien's Characters, which contains character names from The Hobbit, The Lord of the Rings and The Silmarillion.

The list was extended with alternative names given to some characters – Other Name column in the original table. Data was preprocessed by removing duplicates and regnal numbers. The final number of names ascends to 880. The file can be found in data/.

Installation

The code was tested using Python 3.6.10. To install the necessary packages run:

pip install -r requirements.txt

If using Conda, you can also create an environment with the requirements:

conda env create -f environment.yml

By default the environment name is middle-earth-name-generator. To activate it run:

conda activate middle-earth-name-generator

Usage

Run the program file from command line as:

python middle_earth_name_generator.py

For more information about the model, check notebooks/.

About

Neural network to generate new character names from Tolkien's Middle-earth.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published