This repository contains the code and resources for the Towards Data Science article: "Creating a Poems Generator using Word Embeddings"
First we need to install all the necessary libraries:
pip install -r requirements.txt
Then we need to add a link to the english spacy model that we downloaded:
spacy link en_core_web_md en
-
allan_poems.csv: Edgar Allan Poe poems saved into a .csv file.
-
sentences_allan_poems.csv: Edgar Allan Poe poems cleaned and splitted into sentences.
-
poem_generator.ipynb: The jupyter notebook with all the code for the article.