Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ dataset_info:
|
|
| 26 |
num_bytes: 8787791.05327144
|
| 27 |
num_examples: 1810
|
| 28 |
download_size: 12131460
|
| 29 |
-
dataset_size: 43929245
|
| 30 |
configs:
|
| 31 |
- config_name: default
|
| 32 |
data_files:
|
|
@@ -34,4 +34,52 @@ configs:
|
|
| 34 |
path: data/train-*
|
| 35 |
- split: test
|
| 36 |
path: data/test-*
|
|
|
|
|
|
|
|
|
|
| 37 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
num_bytes: 8787791.05327144
|
| 27 |
num_examples: 1810
|
| 28 |
download_size: 12131460
|
| 29 |
+
dataset_size: 43929245
|
| 30 |
configs:
|
| 31 |
- config_name: default
|
| 32 |
data_files:
|
|
|
|
| 34 |
path: data/train-*
|
| 35 |
- split: test
|
| 36 |
path: data/test-*
|
| 37 |
+
license: mit
|
| 38 |
+
language:
|
| 39 |
+
- si
|
| 40 |
---
|
| 41 |
+
# Sinhala News Comment Sentiment Dataset
|
| 42 |
+
|
| 43 |
+
## Overview
|
| 44 |
+
This repository contains a dataset of Sinhala news comments categorized by sentiment (Positive, Negative, Neutral). To provide deeper context for advanced models, the dataset also includes metadata from the parent news article, including the article's title, author, publication date, and full body text.
|
| 45 |
+
|
| 46 |
+
**Note on Origin:** This Hugging Face repository was created purely for convenience. The original data was distributed as individual XML files. It has been parsed, cleaned, and formatted into standard `Dataset` objects here to allow seamless integration with the `datasets` library and modern LLM evaluation harnesses.
|
| 47 |
+
|
| 48 |
+
**All credit for the data collection, annotation, and original research belongs to the original authors.**
|
| 49 |
+
|
| 50 |
+
## Original Source & Credits
|
| 51 |
+
This dataset is the result of the research conducted by **S. Ranathunga** and **I. U. Liyanage**.
|
| 52 |
+
|
| 53 |
+
The original raw XML corpus and associated tagging scripts can be found in their official GitHub repository:
|
| 54 |
+
🔗 [theisuru/sentiment-tagger](https://github.com/theisuru/sentiment-tagger)
|
| 55 |
+
|
| 56 |
+
## Dataset Structure
|
| 57 |
+
The dataset has been restructured from XML into a flat, tabular format with the following features:
|
| 58 |
+
* `text` *(string)*: The text of the user's news comment.
|
| 59 |
+
* `label` *(ClassLabel)*: The sentiment of the comment.
|
| 60 |
+
* `0`: Negative
|
| 61 |
+
* `1`: Neutral
|
| 62 |
+
* `2`: Positive
|
| 63 |
+
* `article_body` *(string)*: The full text of the parent news article.
|
| 64 |
+
* `article_title` *(string)*: The title of the news article.
|
| 65 |
+
* `article_author` *(string)*: The author of the news article.
|
| 66 |
+
* `article_date` *(string)*: The publication date of the news article.
|
| 67 |
+
|
| 68 |
+
## Citation Information
|
| 69 |
+
If you use this dataset, code, or trained models derived from it, you are required by the original authors to cite their work.
|
| 70 |
+
|
| 71 |
+
**APA:**
|
| 72 |
+
> Ranathunga, S., & Liyanage, I. U. (2021). Sentiment Analysis of Sinhala News Comments. *Transactions on Asian and Low-Resource Language Information Processing, 20*(4), 1-23.
|
| 73 |
+
|
| 74 |
+
**BibTeX:**
|
| 75 |
+
```bibtex
|
| 76 |
+
@article{ranathunga2021sentiment,
|
| 77 |
+
title={Sentiment Analysis of Sinhala News Comments},
|
| 78 |
+
author={Ranathunga, Surangika and Liyanage, Isuru U},
|
| 79 |
+
journal={Transactions on Asian and Low-Resource Language Information Processing},
|
| 80 |
+
volume={20},
|
| 81 |
+
number={4},
|
| 82 |
+
pages={1--23},
|
| 83 |
+
year={2021},
|
| 84 |
+
publisher={ACM New York, NY}
|
| 85 |
+
}
|