Skip to content

Programming-from-A-to-Z/Markov-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markov Text Generator in Node.js

This repository contains a Markov Text Generator implemented in Node.js.

For Programming from A to Z at ITP/NYU and based on Allison Parrish's RWET examples

Contents

  • index.js: The entry point of the application where text is fed into the Markov Generator and generated text is printed.
  • markov.js: Contains the MarkovGenerator class responsible for the creation of ngrams and generation of new text.
  • itp.txt: A sample text file that serves as the input to the Markov Generator.

Run

After cloning the repository and navigating to the project directory, run:

npm install
npm start

About

A Markov Text Generator built with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published