5 posts tagged with python by TheMadStork.
Displaying 1 through 5 of 5.
Interactive diary chat bot
Monolog is an interactive diary bot that prompts you with interesting questions, which it chooses based on the topics you write about. [more inside]
lexiconjure
A twitter bot that uses machine learning to define invented words, posting truncated definitions on Twitter and complete ones on Tumblr. Tweet @lexiconjure a made-up word, and it'll define it for you. [more inside]
Neural Networks Translate Images to Poetry
Neuralsnap generates an image caption using a model I trained (convolutional and recurrent neural networks), then uses another character-level recurrent neural net that I trained on ~40 MB of poetry to expand the caption into a poem. (In this example, generated from a Rothko painting, the red text is the direct image caption, and the rest is the poetic expansion.) [more inside]
word.camera generates paragraphs from a photograph
With Clarifai, an image concept extraction API utilizing convolutional neural networks, and ConceptNet, a lexical relationship database, I built a template system to generate paragraphs of text from photographs. word.camera is responsive — it works on desktop, tablet, and mobile devices. The code behind it is open source and available on GitHub, because lexography is for everyone. [more inside]
Ten Thousand Sonnets
Using Python 2.7 and the Natural Language Toolkit, I created a program called Sonnetizer that generates 14-line rhyming sonnets in (mostly) iambic pentameter from any text corpus. Using Sonnetizer, I generated 10,000 unique sonnets from the sonnets of William Shakespeare, and compiled them into a PDF.
Page:
1