--- dataset_info: features: - name: id dtype: string - name: poet dtype: string - name: title dtype: string - name: class dtype: string - name: text dtype: string - name: source_url dtype: string splits: - name: train num_bytes: 4114667 num_examples: 3642 - name: validation num_bytes: 1349684 num_examples: 1214 - name: test num_bytes: 1384384 num_examples: 1214 download_size: 31865790 dataset_size: 6848735 configs: - config_name: default data_files: - split: train path: train-*.parquet - split: validation path: validation-*.parquet - split: test path: test-*.parquet --- # Bengali Poems Classification This dataset contains Bengali poems with genre classification labels. The dataset includes 6,070 poems from 137 poets, categorized into 21 classes. ## Dataset Information - **Number of poets**: 137 - **Total number of poems**: 6,070 - **Number of classes**: 21 - **Train/Validation/Test split**: 6:2:2 (stratified by class) ## Data Format The dataset is stored in Parquet format with the following fields: - `id`: Unique identifier - `poet`: Poet name - `title`: Poem title - `class`: Poem class/genre (e.g., "ভক্তিমূলক", "প্রেম/ইরোটিক", etc.) - `text`: Poem text content - `source_url`: Source URL (if available) ## Poem Classes The dataset includes 21 poem classes. Some of the main classes include: - Love/Erotic (প্রেম/ইরোটিক) - Reflective (চিন্তাশীল) - Humanism (মানবতা) - Sonnet (সনেট) - Devotional (ভক্তিমূলক) - Allegory (রূপক) - Nature (প্রকৃতি) - Rhymes (ছড়া) - Patriotic (দেশপ্রেমমূলক) - And more... ## Train/Validation/Test Split The dataset is split into: - **Training set**: 60% of the data - **Validation set**: 20% of the data - **Test set**: 20% of the data The split is performed with stratified sampling based on poem classes to ensure balanced distribution across all splits. ## Citation If you use this dataset, please cite: ``` @inproceedings{10.1145/3582768.3582788, author = {Shuhan, Mirza Kamrul Bashar and Dey, Rupasree and Saha, Sourav and Anjum, Md Shafa Ul and Zaman, Tarannum Shaila}, title = {A Stylometric Dataset for Bengali Poems}, year = {2023}, isbn = {9781450397629}, publisher = {Association for Computing Machinery}, address = {New York, NY, USA}, url = {https://doi.org/10.1145/3582768.3582788}, doi = {10.1145/3582768.3582788}, booktitle = {Proceedings of the 2022 6th International Conference on Natural Language Processing and Information Retrieval}, pages = {176–180}, numpages = {5}, keywords = {Bengali Poems, Corpora, Datasets, Language Resources, Natural Language Processing, Stylometric Datasets}, location = {Bangkok, Thailand}, series = {NLPIR '22} } ``` ## Source The original dataset can be found at: https://github.com/shuhanmirza/Bengali-Poem-Dataset ## Original Dataset Structure The original dataset has a three-level directory structure: - **Level 1**: Poet name (poet directory) - **Level 2**: Poem title (poem directory) - **Level 3**: Three text files: - `CLASS.txt`: Poem class/genre - `SOURCE.txt`: Source URL and timestamp - `{title}.txt`: Poem text content