Jahidul Islam commited on
Commit ·
e49d180
1
Parent(s): 590f09b
docs: update README
Browse files
README.md
CHANGED
|
@@ -1,3 +1,106 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# BanglaNostalgia Dataset
|
| 2 |
+
|
| 3 |
+
A labeled Bangla text dataset for nostalgia detection from user comments. BanglaNostalgia is a 20K-row Bengali text dataset for binary nostalgia detection. It includes raw and cleaned text, timestamp, and labels. Suitable for Bangla NLP benchmarking, emotion analysis, and low-resource text classification research.
|
| 4 |
+
|
| 5 |
+
## Dataset Snapshot
|
| 6 |
+
|
| 7 |
+
- Total rows: `20,000`
|
| 8 |
+
- Main file columns: `5`
|
| 9 |
+
- Missing values: `0` in all columns
|
| 10 |
+
- Label distribution:
|
| 11 |
+
- `label = 1`: `16,997` rows (`84.98%`)
|
| 12 |
+
- `label = 0`: `3,003` rows (`15.02%`)
|
| 13 |
+
- Language: Bangla (Bengali)
|
| 14 |
+
|
| 15 |
+
## Files
|
| 16 |
+
|
| 17 |
+
- `bengali_nostalgia_labeled.csv`
|
| 18 |
+
- Full dataset in one file.
|
| 19 |
+
- Columns: `id`, `raw_text`, `label`, `text`, `reference_time`
|
| 20 |
+
- `splits/bengali_nostalgia_labeled_part001.csv` ... `splits/bengali_nostalgia_labeled_part020.csv`
|
| 21 |
+
- 20 split files, each with `1,000` rows.
|
| 22 |
+
- Columns: `id`, `text`, `label`, `clean_text`, `reference_time`
|
| 23 |
+
|
| 24 |
+
## Important Column Mapping
|
| 25 |
+
|
| 26 |
+
Between the main file and split files:
|
| 27 |
+
|
| 28 |
+
- Split `text` = Main `raw_text`
|
| 29 |
+
- Split `clean_text` = Main `text`
|
| 30 |
+
|
| 31 |
+
Use this mapping to avoid confusion when switching between the full file and part files.
|
| 32 |
+
|
| 33 |
+
## Column Dictionary
|
| 34 |
+
|
| 35 |
+
- `id`: Unique comment identifier.
|
| 36 |
+
- `raw_text`: Original raw Bangla text.
|
| 37 |
+
- `text`: Cleaned/normalized version of the text.
|
| 38 |
+
- `clean_text`: Same semantic role as `text` (used in split files).
|
| 39 |
+
- `label`: Binary target label for nostalgia classification.
|
| 40 |
+
- `reference_time`: Timestamp string (ISO-like format) associated with the comment.
|
| 41 |
+
|
| 42 |
+
## Label Definition
|
| 43 |
+
|
| 44 |
+
Current labeling is binary:
|
| 45 |
+
|
| 46 |
+
- `1`: Nostalgia-related expression
|
| 47 |
+
- `0`: Non-nostalgia / other expression
|
| 48 |
+
|
| 49 |
+
If your labeling policy differs, update this section before publishing the Kaggle description.
|
| 50 |
+
|
| 51 |
+
## Recommended Use Cases
|
| 52 |
+
|
| 53 |
+
- Bangla nostalgia detection
|
| 54 |
+
- Bangla emotion/affect classification research
|
| 55 |
+
- Low-resource NLP benchmarking
|
| 56 |
+
- Text preprocessing and normalization studies for Bangla social text
|
| 57 |
+
|
| 58 |
+
## Quick Start (Python)
|
| 59 |
+
|
| 60 |
+
```python
|
| 61 |
+
import pandas as pd
|
| 62 |
+
|
| 63 |
+
df = pd.read_csv("bengali_nostalgia_labeled.csv")
|
| 64 |
+
|
| 65 |
+
X = df["text"] # cleaned text
|
| 66 |
+
y = df["label"] # binary label
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
## Data Quality Notes
|
| 70 |
+
|
| 71 |
+
- No duplicate `id` values in the main file.
|
| 72 |
+
- No exact duplicate rows in the main file.
|
| 73 |
+
- Class imbalance is significant (`~85/15`), so use stratified splits and class-aware metrics.
|
| 74 |
+
- `reference_time` can support temporal analysis, but verify whether it should be used as a model feature for your task.
|
| 75 |
+
|
| 76 |
+
## Suggested Evaluation Metrics
|
| 77 |
+
|
| 78 |
+
Because of class imbalance, prioritize:
|
| 79 |
+
|
| 80 |
+
- Macro F1
|
| 81 |
+
- Class-wise Precision/Recall
|
| 82 |
+
- PR-AUC (for positive class)
|
| 83 |
+
|
| 84 |
+
Avoid reporting only accuracy.
|
| 85 |
+
|
| 86 |
+
## Limitations
|
| 87 |
+
|
| 88 |
+
- Potential label subjectivity (nostalgia can be context-dependent).
|
| 89 |
+
- Source-domain bias (platform and audience effects).
|
| 90 |
+
- Temporal/cultural bias across years and events.
|
| 91 |
+
|
| 92 |
+
## Ethical and Responsible Use
|
| 93 |
+
|
| 94 |
+
- Do not attempt user re-identification.
|
| 95 |
+
- Use for research/benchmarking, not for sensitive user profiling.
|
| 96 |
+
- Respect platform terms if data originates from public comments.
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
### 4) File Information
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
- `bengali_nostalgia_labeled.csv`:
|
| 103 |
+
`Main file (20,000 rows). Columns: id, raw_text (original), label (0/1), text (cleaned), reference_time (timestamp).`
|
| 104 |
+
|
| 105 |
+
- `splits/bengali_nostalgia_labeled_part001.csv` to `splits/bengali_nostalgia_labeled_part020.csv`:
|
| 106 |
+
`Split part file (1,000 rows each). Columns: id, text (same as main raw_text), label (0/1), clean_text (same as main text), reference_time.`
|