Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 935 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 935 Bytes

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