This program generates silly Finnish person names.
The program uses a Markov chain to generate random letter sequences that locally resemble person names. Real names (used by at least 10 persons according to Väestörekisterikeskus) are filtered out leaving only hopefully funny name-like results.
Some examples of the generated names:
- Kaara Keiskanen
- Velix Minkkonen
- Annelena Maariannikki Nesterlund
- Pekka-Pekka Thor Elovirtanen
- Gunneli Pirkko-Liisabeth Puuma
- Katrica Järvi-Latva-Kiikert
Requires Python 3.9.
python3.9 -m venv venv
source venv/bin/activate
pip install wheel
pip install -r requirements.txt
scripts/get_vrk_data.sh
This downloads an open Finnish name data set, preprocesses it, and stores it in the subdirectory data.
FLASK_APP=namegenserver.py flask run
Open http://localhost:5000 on a web browser.
Alternatively, run the command line script that prints a bunch of random names:
python namegenerator.py
zappa update