Skip to content

News title generator. Scrap the BBC news, analyze the data, generate new ttiles and then visualizate the data.

Notifications You must be signed in to change notification settings

Sonya-c/news-headlines-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Headline Generator

A number $n$ of headlines from the BBC world news portal will be downloaded through web-scrapping. This information will be stored in a .csv file autogenerated by the program; This files contains the date of the news and the headline. With this data, new headlines will be generated using Markov chains. Finally, graphs will be displayed that show an analysis of the information collected.

cli f1 f2 f3

Requirements

  • Python3

Usage

  1. Install requeriments

    pip install -r requirements.txt
  2. Change credentials. Go to the .env file, and add your data (username, website, email).

  3. Run the main file

    python main.py

    You can find all the original date in data/exp_1 and all the generated title in data/exp_2

About

News title generator. Scrap the BBC news, analyze the data, generate new ttiles and then visualizate the data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages