Skip to content

willperring/dm-markov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main Files

Filename Description
corpus-bo.py Scrapes the Barack Obama speech homepage for all links, and then crawls each of them in turn, saving the output to a simple text format
corpus-dm.py Scrapes the Daily Mail website homepage for all article links, and then crawls each of them in turn, saving the output to a simple text format
ddiag.py Utility tool for dictionary files
dictionary.py Creates a dictionary file from the saved corpus documents
markov.py Generates Markov chains from a specified dictionary

Dependencies:

  • Python 3.2+
  • BeautifulSoup4

About

Markov Chain generator from Daily Mail articles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages