Skip to content

python learning experiment - generates a random news article based on the style of the input set of data

Notifications You must be signed in to change notification settings

ebeer/article-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Article Generator

A basic python experiment
stuctured modularly to extend functionality

main.py
-reads in urls from a text file (optionally passed as an argument)
-default case only recognizes patterns for foxnews, nbcnews and techcruch html articles
-tokenizes data and saves to a json output file.

generator.py
-generates a new random article based on the style of the input data (optionally passed as argument)

cinquain.py
-generates a random cinquain based on the input data (optionally passed as an argument)

Example Fox News Cenquain:

The Daily Show, 
an al-Qaida-like group has 
criticized the land 
on Comedy Central's 
leadership in the 

About

python learning experiment - generates a random news article based on the style of the input set of data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages