Lo-Renz-O commited on
Commit
38e19b1
·
verified ·
1 Parent(s): ee516df

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -1
README.md CHANGED
@@ -6,4 +6,56 @@ language:
6
  - mg
7
  size_categories:
8
  - 10K<n<100K
9
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  - mg
7
  size_categories:
8
  - 10K<n<100K
9
+ ---
10
+ # Collection Tononkalo Malagasy
11
+
12
+ ## Dataset Description
13
+
14
+ This dataset is a collection of Malagasy poems (*Tononkalo*) scraped from [Vetso Serasera](https://vetso.serasera.org/vetso). It focuses on creative writing, rhymes, and artistic expression in the Malagasy language.
15
+
16
+ **Important Note:** This dataset has been rigorously filtered.
17
+ 1. **Language Filtering:** Poems written primarily in French or English have been removed to ensure a high-quality Malagasy corpus.
18
+ 2. **Cleaning:** Metadata, dates, author signatures inside the text, and website headers/footers have been stripped to leave only the raw poetic content.
19
+
20
+ - **Curated by:** Lo-Renz-O
21
+ - **Language:** Malagasy (mg)
22
+ - **Source:** Vetso Serasera
23
+ - **License:** User-generated content (Rights belong to original authors). Used for research/educational purposes.
24
+
25
+ ## Dataset Structure
26
+
27
+ The dataset is formatted in JSONL.
28
+
29
+ ### Data Fields
30
+
31
+ - `url` (string): The URL where the poem was found.
32
+ - `title` (string): The title of the poem.
33
+ - `author` (string): The name of the poet.
34
+ - `content` (string): The body of the poem, preserving line breaks (`\n`) for structure.
35
+
36
+ ### Example
37
+
38
+ ```json
39
+ {
40
+ "url": "https://vetso.serasera.org/tononkalo/author/title",
41
+ "title": "Embona",
42
+ "author": "Rado",
43
+ "content": "Raha mbola misy embona\nny lasa tsy fanary\nny fo no aoka hiteny\n..."
44
+ }
45
+ ```
46
+ ### Filtering Logic
47
+ To ensure quality for LLM training:
48
+ Login Pages Removed: Redirects to login pages were filtered out.
49
+ Signatures Removed: Lines at the end of poems containing the author's name or dates (e.g., "12/12/2025") were programmatically removed.
50
+ Non-Malagasy Removed: A heuristic based on stop-words was used to exclude non-Malagasy texts.
51
+
52
+ ### How to Use
53
+
54
+ ```python
55
+ from datasets import load_dataset
56
+
57
+ dataset = load_dataset("Lo-Renz-O/Collection-Tononkalo-Malagasy")
58
+
59
+ # Print a poem
60
+ print(dataset['train'][0]['content'])
61
+ ```