Same functionality as thesis repo but with Git Repo code instead of mine.
This is a test task for unsupervised methods for natural language generation.