Coder Social home page Coder Social logo

makeof's Introduction

MakeOf

Collaborate with markov chains to make mashups of fiction.

How?

python3 makeof.py <directory of text files>

Example

$ python3 makeof.py sources/twilight
Enter new words to add
or enter a "-" for each word you'd like to remove
or pick an option (enter 0-3):
(0) Throughout the vast
(1) And are you
(2) She smiled for
(3) Because you and
0

Throughout the vast

Enter new words to add
or enter a "-" for each word you'd like to remove
or pick an option (enter 0-0):
(0) shadowy world of ghosts
emptiness of

Throughout the vast emptiness of

Enter new words to add
or enter a "-" for each word you'd like to remove
or pick an option (enter 0-0):
(0) 
my

Throughout the vast emptiness of my

Enter new words to add
or enter a "-" for each word you'd like to remove
or pick an option (enter 0-2):
(0) life. The fog
(1) life had I spent
(2) life, it was
0

Throughout the vast emptiness of my life. The fog

Enter new words to add
or enter a "-" for each word you'd like to remove
or pick an option (enter 0-0):
(0) had almost dissolved by
--

Throughout the vast emptiness of my life.

Enter new words to add
or enter a "-" for each word you'd like to remove
or pick an option (enter 0-3):
(0) What I enjoy the
(1) You can't
(2) My eyes had not
(3) What I want and

makeof's People

Contributors

kennib avatar

Watchers

 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.