Giter VIP home page Giter VIP logo

inspire-me's Introduction

inspire-me


Collaboratively write poetry with your machine, using a simple model and a collection of your favourite poetry.

The model is trained on a sample of your favourite poetry, and provides you with words of inspiration. You use the words to evoke imagery and write the final poetry.


c1x8qojfmn



## Get autocomplete module

Available here: https://pypi.python.org/pypi/autocomplete/0.0.104

pip install autocomplete

Create the text file with the poetry you want as inspiration, and point to that file in autocomplete.models.train_bigtxt() The training data set I used is given in this repo as training_set_poetry_plath.txt.

Example poetry

Here's a poem my computer and I co-wrote:



the burning fire as the outsiders entered on the narrowing roads
barrels stacked in the dark shadows
crowds bold and austere

their cries unintelligible, bodies creating an island
the moon coming up, big yellow bulb

the large houses’ windows illuminated
chidren crowded up against the windows
babies fallen asleep upstairs, desultory

among the thump
thump
thump

a top barrel rolls lurches over
clunk
on the ground

and rolls away to the distance

inspire-me's People

Contributors

annazawilska avatar

Watchers

James Cloos avatar

inspire-me's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.