farbodbij/Ganjoor-Corpus
English | فارسی Ganjoor-Corpus The Ganjoor poetry corpus as four tables covering poems, books of poetry, and poet information. This corpus can be used for training models, statistical work, and building other datasets. Configs poets: 234 poets. field description poet_id Ganjoor poet id name, nickname full name and pen name url Ganjoor path birth_year, death_year lunar Hijri; birth_year_valid / death_year_valid say whether Ganjoor marks the date as… See the full description on the dataset page: https://huggingface.co/datasets/farbodbij/Ganjoor-Corpus.
English | فارسی
Ganjoor-Corpus
The Ganjoor poetry corpus as four tables covering poems, books of poetry, and poet information. This corpus can be used for training models, statistical work, and building other datasets.
Configs
`poets`: 234 poets.
`categories`: where a poem sits in the Ganjoor category tree, including book name, section within the book, and the rest.
`poems` (default): 132,591 poems.
HTML is not included. 127,695 of 129,414 summaries are AI-generated.
`couplets`: 1,488,130 beyts. One row per couplet, each mesra in its own column.
Right / CenteredVerse1 → first; Left / CenteredVerse2 → second. Paragraphs and comments are omitted (80,555 prose verses). An unpaired mesra is kept with an empty second (4,859 rows).
from datasets import load_dataset
poems = load_dataset("farbodbij/Ganjoor-Corpus", "poems", split="train")
couplets = load_dataset("farbodbij/Ganjoor-Corpus", "couplets", split="train")
poets = load_dataset("farbodbij/Ganjoor-Corpus", "poets", split="train")
categories = load_dataset("farbodbij/Ganjoor-Corpus", "categories", split="train")How it was built
Fields in this dataset (metre, rhyme, format, summaries, biographies, and the rest) are taken from Ganjoor as-is, with no correction or rewriting. Their accuracy therefore depends on the accuracy of Ganjoor’s data.
Thanks Disclaimer
We are thankful to Ganjoor team for releasing their meticulously curated data publicly, allowing anyone to deliver high-quality Persian datasets to the NLP community. This both helps Persian as a low-resource language and also contributes to distribution of the Iranian culture.
