Coder Social home page Coder Social logo

paradoxical-poem-generator's Introduction

paradoxical-poem-generator

A "very" naive poem generation.

Dependencies

All you need is python3, and that's it.

What's With The Repo?

Oh yeah! My intention is to generate new texts/poems/lines based on my own poems as source. The texts are generated using Markov Chain. I have done a naive implementation of the Markov Chain using trie data structure using python dictionaries.

Yosh! How Can I Use It?

All you've gotta do is trust on the script markov.py for now. That way the world will not explode.

python3 markov.py 10

This generates 10 lines of poem.

Sample 1

There's something at the edge of a kind
'Tak Tak' — the sound of time
Where my soul wait to be stumbled by the “one”.
I know it. I have seen.
And I am no one is around to hear it, does it make a sound?
Each piece tries to bring on an Armageddon
Sometimes a little blue
As the time change
Floating right above where I live
That is what they serve in the distance

Sample 2

python3 markov.py 6

The unknowns and the dead
Tomorrow. In the world is blind
As I watch the time walks.
Your eyes pop out of sight
Chhhh…. One moment you see me. You cannot see me. You cannot know me.
The heart isn't the only thing that matters

Interesting, Heh?

Of course! It's interesting to see a machine generating poems, right?
Yes. Let your fear take control of your mind. Machines will replace you.
coughs
Well! Fuck this shit! That's your fear. Machines aren't going anywhere with these cool stuff.

If you want to know the actual AI, see my presentation here on Debunking AI

Yeah! Markov Chains are pretty handy tools. You can pretty much do anything. Cheers...

paradoxical-poem-generator's People

Contributors

nish1001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.