Update README.md
Browse files
README.md
CHANGED
|
@@ -7,39 +7,77 @@ language:
|
|
| 7 |
size_categories:
|
| 8 |
- 1K<n<10K
|
| 9 |
---
|
| 10 |
-
# vaovao_malagasy_sentiment_corpus
|
| 11 |
-
|
| 12 |
# Dataset Card for Vaovao Malagasy Sentiment Corpus (VMSC)
|
| 13 |
|
| 14 |
## Dataset Summary
|
| 15 |
|
| 16 |
-
The **Vaovao Malagasy Sentiment Corpus (VMSC)** is the first publicly available, manually annotated sentiment dataset for the Malagasy language. It contains **5,041 sentences** from news articles published between 2022 and 2023
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
## Supported Tasks
|
| 23 |
|
| 24 |
-
- Sentiment Analysis (
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
- Benchmarking for Low-resource NLP
|
| 28 |
-
|
| 29 |
-
---
|
| 30 |
|
| 31 |
## Languages
|
| 32 |
|
| 33 |
-
- **Language
|
| 34 |
-
- **Variant
|
| 35 |
|
| 36 |
-
---
|
| 37 |
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
```python
|
| 42 |
from datasets import load_dataset
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
size_categories:
|
| 8 |
- 1K<n<10K
|
| 9 |
---
|
|
|
|
|
|
|
| 10 |
# Dataset Card for Vaovao Malagasy Sentiment Corpus (VMSC)
|
| 11 |
|
| 12 |
## Dataset Summary
|
| 13 |
|
| 14 |
+
The **Vaovao Malagasy Sentiment Corpus (VMSC)** is the first publicly available, manually annotated sentiment analysis dataset for the Malagasy language (`mg`). It contains **5,041 sentences** extracted from news articles (*vaovao*) published between 2022 and 2023.
|
| 15 |
|
| 16 |
+
Each sentence is labeled with binary sentiment (**Positive** or **Negative**). The dataset was created to address the scarcity of resources for Malagasy NLP and benchmarks. It features high-quality annotations performed by native speakers, achieving an inter-annotator agreement of **Cohen’s Kappa = 0.96**.
|
| 17 |
|
| 18 |
+
This dataset is the official corpus presented in the paper published in *Language Resources and Evaluation* (Springer, 2025).
|
| 19 |
|
| 20 |
## Supported Tasks
|
| 21 |
|
| 22 |
+
- **Sentiment Analysis:** Binary classification (Positive vs. Negative).
|
| 23 |
+
- **Transfer Learning:** Benchmarking pre-trained models (e.g., XLM-R, mBERT) on Malagasy.
|
| 24 |
+
- **Low-Resource NLP:** Serving as a gold-standard evaluation set for low-resource language studies.
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Languages
|
| 27 |
|
| 28 |
+
- **Language:** Malagasy (`mg`)
|
| 29 |
+
- **Variant:** Standard Malagasy (official dialect used in media and government).
|
| 30 |
|
|
|
|
| 31 |
|
| 32 |
+
## Dataset Structure
|
| 33 |
+
|
| 34 |
+
### Data Instances
|
| 35 |
|
| 36 |
+
An example of a data point looks like this:
|
| 37 |
+
|
| 38 |
+
```json
|
| 39 |
+
{
|
| 40 |
+
"text": "Tena nety ny vokatra azo tamin'ny tetikasa.",
|
| 41 |
+
"label": 1
|
| 42 |
+
}
|
| 43 |
+
```
|
| 44 |
+
### Data Fields
|
| 45 |
+
- text: The news sentence (string).
|
| 46 |
+
- label: The sentiment label (integer).
|
| 47 |
+
* 0: Negative
|
| 48 |
+
* 1: Positive
|
| 49 |
+
|
| 50 |
+
### Data Splits
|
| 51 |
+
The dataset contains a total of 5,041 sentences.
|
| 52 |
+
|
| 53 |
+
### Dataset Creation
|
| 54 |
+
* Source: Malagasy news articles published between 2022 and 2023.
|
| 55 |
+
* Annotation: Manually annotated by native speakers.
|
| 56 |
+
* Quality Control: Rigorous annotation protocol resulting in a Cohen’s Kappa score of 0.96.
|
| 57 |
+
|
| 58 |
+
### How to Use
|
| 59 |
+
You can load this dataset directly using the Hugging Face datasets library:
|
| 60 |
|
| 61 |
```python
|
| 62 |
from datasets import load_dataset
|
| 63 |
|
| 64 |
+
# Load the dataset
|
| 65 |
+
dataset = load_dataset("Lo-Renz-O/vaovao_malagasy_sentiment_corpus")
|
| 66 |
+
|
| 67 |
+
# View the first training example
|
| 68 |
+
print(dataset['train'][0])
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
### Citation
|
| 72 |
+
|
| 73 |
+
```bibtex
|
| 74 |
+
@article{Mamelona2025VMSC,
|
| 75 |
+
author = {Lorenzo Mamelona, Sitraka Ny Aina Raharivelo, Andriamanarivo Tatiana Miarintsoa, Bright Bediako-Kyeremeh & Benjamin Kwapong Osibo},
|
| 76 |
+
title = {Towards robust Malagasy NLP: a novel corpus and evaluation framework for sentiment analysis},
|
| 77 |
+
journal = {Language Resources and Evaluation},
|
| 78 |
+
year = {2026},
|
| 79 |
+
publisher = {Springer},
|
| 80 |
+
doi = {10.1007/s10579-025-09900-w},
|
| 81 |
+
url = {https://link.springer.com/article/10.1007/s10579-025-09900-w}
|
| 82 |
+
}
|
| 83 |
+
```
|