Upload 2 files
Browse files- .gitattributes +1 -0
- README.md +93 -2
- poems.jsonl +3 -0
.gitattributes
CHANGED
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
+
poems.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
|
|
1 |
+
|
2 |
+
# Persian Poetry Dataset
|
3 |
+
|
4 |
+
## Dataset Description
|
5 |
+
|
6 |
+
### Overview
|
7 |
+
|
8 |
+
This dataset contains a rich collection of Persian poems along with metadata about the poets and the verses. The data spans various poets and their poems, and includes the verses with associated information about their position within each poem.
|
9 |
+
|
10 |
+
### Data Collection
|
11 |
+
|
12 |
+
- **Data Collection Source:** The data is sourced from the [Ganjoor project](https://github.com/ganjoor/). The specific database file can be found in the [releases section](https://github.com/ganjoor/desktop/releases/tag/v2.81) of their GitHub repository.
|
13 |
+
- **Time Period:** Oct-12-2023
|
14 |
+
- **Collection Methods:** The data was collected by downloading the raw database file from the Ganjoor project's GitHub repository.
|
15 |
+
|
16 |
+
### Data Structure
|
17 |
+
|
18 |
+
The dataset is structured into multiple tables, notably `poem`, `poet`, and `verse` tables which contain information about the poems, poets, and verses respectively. The tables are linked through various ID fields that allow the data to be connected and queried together.
|
19 |
+
|
20 |
+
- **Poem Table:**
|
21 |
+
- `id`: The unique identifier of a poem.
|
22 |
+
- `cat_id`: A category identifier linking to poet information.
|
23 |
+
- `title`: The title of the poem.
|
24 |
+
- `url`: A URL associated with the poem.
|
25 |
+
|
26 |
+
- **Poet Table:**
|
27 |
+
- `id`: The unique identifier of a poet.
|
28 |
+
- `name`: The name of the poet.
|
29 |
+
- `cat_id`: A category identifier.
|
30 |
+
- `description`: A textual description or biography of the poet.
|
31 |
+
|
32 |
+
- **Verse Table:**
|
33 |
+
- `poem_id`: Identifier linking the verse to a particular poem.
|
34 |
+
- `vorder`: Order of the verse within the poem.
|
35 |
+
- `position`: Position of the verse, used to determine if two verses form a hemistich.
|
36 |
+
- `text`: The text of the verse.
|
37 |
+
|
38 |
+
### Data Example
|
39 |
+
|
40 |
+
```json
|
41 |
+
{
|
42 |
+
"poet": "Sample Poet",
|
43 |
+
"title": "Sample Poem Title",
|
44 |
+
"content": [
|
45 |
+
{
|
46 |
+
"hemistich": {
|
47 |
+
"verse0": "First part of a hemistich",
|
48 |
+
"verse1": "Second part of a hemistich"
|
49 |
+
}
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"verse": {"text": "A standalone verse"}
|
53 |
+
}
|
54 |
+
]
|
55 |
+
}
|
56 |
+
```
|
57 |
+
|
58 |
+
## Dataset Usage
|
59 |
+
|
60 |
+
### Use Cases
|
61 |
+
|
62 |
+
This dataset can be utilized for various Natural Language Processing and analysis tasks related to Persian poetry, such as:
|
63 |
+
- Poem generation
|
64 |
+
- Poet identification
|
65 |
+
- Style analysis
|
66 |
+
|
67 |
+
### Challenges & Limitations
|
68 |
+
|
69 |
+
- The dataset might contain long verses that are over 100 characters.
|
70 |
+
- Some poems may contain verses that form hemistichs, which are represented with specific structure in the dataset.
|
71 |
+
|
72 |
+
### License
|
73 |
+
|
74 |
+
GPL (GNU General Public License)
|
75 |
+
|
76 |
+
## Additional Information
|
77 |
+
|
78 |
+
### Citation
|
79 |
+
|
80 |
+
```
|
81 |
+
Persian Poetry Dataset. Collected by Kakooch from the Ganjoor Project. Available at: https://huggingface.co/datasets/persian_poetry
|
82 |
+
```
|
83 |
+
|
84 |
+
### Dataset Link
|
85 |
+
|
86 |
+
[Download the dataset from Hugging Face](https://huggingface.co/datasets/persian_poetry)
|
87 |
+
|
88 |
+
### Contact
|
89 |
+
|
90 |
+
Email: [[email protected]](mailto:[email protected]) | GitHub: [kakooch](https://github.com/kakooch)
|
91 |
+
|
92 |
---
|
93 |
+
|
94 |
+
*This README was generated by Kakooch.*
|
poems.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:821bfa6b99baaf3772b2ce162c7152e1e2cc68610ea2ba6e586d00d823b8c88e
|
3 |
+
size 205767273
|