Data · dataset · 2021
Financial news about brazilian companies listed on B3 and source-codes to perform sentiment analysis
Listed in REDU - Unicamp Institutional Research Data Repository
Description
This package contains a dataset of financial news (written in Portuguese) and the source codes (in Python) to perform sentiment analysis on these news, according to two approaches: (i) based on three lexicons (also in Portuguese), being two of then proposed by the authors and specifically developed for the financial market; and (ii) based on machine learning, particularly with Naive Bayes and Multilayer Perceptrons. The dataset (file "NewsDatabase.zip") contains 828 news, downloaded from Brazilian newspapers through a web scrapper and manually labeled as positive or negative, according to an investor's sentiment.
This dataset contains two sets of files, with and without the application of stemming. All documents were preprocessed with steps of tokenization, normalization, and removal of special characters and stop words. In the source codes (file "Source-Codes.zip"), the two proposed dictionaries can be found in the file "financial_dictionary.py".
Links
Where it is published
- Dataverse dataset page redu.unicamp.br/dataset.xhtml?persistentId=doi%3A10.25824%2Fredu%2FREJCTD ↗
landing page · from redu unicamp br
- DOI doi.org/10.25824/redu/rejctd ↗
DOI / persistent id · from redu unicamp br
Catalogue records · 1
- Dataverse API redu.unicamp.br/api/datasets/:persistentId/?persistentId=doi%3A10.25824%2Fredu… ↗
metadata API · from redu unicamp br
Topics
- Stated by source
- Computer and Information Science
- From keywords
- Economics & Finance
- Inferred from text
- Banking, finance and investment 71%
Provenance · 1 source records, 9 field assertions
| Source | Key | Last seen | Raw |
|---|---|---|---|
| REDU - Unicamp Institutional Research Data Repository | doi:10.25824/redu/REJCTD | 10 d ago | JSON v1 |
| Field | Assertion | Extractor | Evidence |
|---|---|---|---|
| concepts[field].anzsrc:group:3502 | enrichment · redu unicamp br | taxonomy-embedding@1.1.0 | title+keywords+description (71%) |
| concepts[field].dataverse_subject:computer-and-information-science | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /subjects |
| concepts[field].local:field:economics-finance | mapping · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /subjects |
| created_date | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | |
| description | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /description |
| publication_date | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | |
| title | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /name |
| updated_date | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | |
| version_label | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 |