This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Dependency: textgenrnn (can be installed through pip: !pip install textgenrnn | |
in Jupyter Notebook) | |
Written and tested with Python 3.6 through Jupyter Notebook. | |
This function was created to automatically make a neural net that can | |
generate words from "mashup languages". Several source files are input, | |
each creating words, names, etc. from a single language. A neural net aggregates | |
the contents of the input files, lengthening shorter files to ensure each language | |
is represented in the output, trains a neural net on the aggregated |