datasetposted on 18.07.2019 by Marcos Mouriño García, Roberto Pérez Rodríguez, Luis Anido-Rifón
Datasets usually provide raw data for analysis. This raw data often comes in spreadsheet form, but can be any collection of data, on which analysis can be performed.
To create the corpus, first we download from Reuters website 27,000 random news articles (HTML webpages) classified under each one of the following categories: Health, Art, Politics, Sports, Science, Technology, Economy, and Business. Next, we extracting from each article the title, the body and the category to which it belongs to. Finally, we stored in our database the title, body and category for each article that was downloaded. As a results—after removing duplicates—we obtained a corpus that comprises 23,863 documents that we randomly split in a training sequence that comprises 14,356 documents and a test sequence composed of 9,507 documents.