Generates random Toronto-inspired street names using textgenrnn.
- Python 3
- GNU Make
-
Checkout the repo and use pip to install dependencies
git checkout [email protected]:mamacdon/torgen.git pip3 install -r requirements.txt
Note: the
requirements.txt
probably installs a bunch of unneeded dependencies, but Python makes this hard and I'm not an expertIf you have trouble, try following the textgenrnn instructions. Once you have textgenrnn installed correctly, torgen should run.
-
Train the model. This only has to be done once (unless you change the input data)
make train
Finally the fun part! Generate some street names:
make run
<lots of warnings from Tensorflow>…
Temperature 0.3
--------------------------------------------------------------------
Prince Park Place
Harborough Avenue
Roselle Court
Brooker Lane
Roses Avenue
Temperature 0.5
--------------------------------------------------------------------
Harborough Avenue
Haven Valley Crescent
Langate Crescent
Pedring Drive
Prince Ander Drive
Temperature 1
--------------------------------------------------------------------
Glensan Road
Mongota Drive
Edma Place
Petterbrath Street
Empletrey Road
Temperature 1.25
--------------------------------------------------------------------
Derlilan Boulevard
Shiper Street
Himberant Drive
Exy Avenue
Scockhavstone Avenue
MIT