Datasets › BanglaBook
BanglaBook (Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews)
This repository contains the code, data, and models of the paper titled "BᴀɴɢʟᴀBᴏᴏᴋ: A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews" published in the Findings of the Association for Computational Linguistics: ACL 2023.
[arXiv] [anthology] [GoogleScholar] [ResearchGate] [GitHub] [HuggingFace]
License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Data Format
Each row consists of a book review sample. The table below describes what each column signifies.
| Column Title | Description |
|---|---|
id |
The unique identification number of the sample |
Book_Name |
The title of the book that has been evaluated by the review |
Writer_Name |
The name of the book's author |
Category |
The genre to which the book belongs |
Rating |
A numerical value r such that 1≤r ≤5 A score reflecting the reviewer's subjective assessment of the book's quality |
Review |
The review text written by the reviewer |
Site |
The name of the online bookshop |
sentiment |
The conveyed sentiment and class label of the review For a review sample i with rating rᵢ, the sentiment label Sᵢ is, $S_i =\begin{cases}Negative, & if rᵢ ≤2\\Neutral, & if rᵢ = 3\\Positive, & if rᵢ ≥4\end{cases}$ |
label |
The numerical representation of the sentiment label For a review sample i with sentiment label Sᵢ, the numerical label is, $label_i =\begin{cases}0, & if Sᵢ = Negative\\1, & if Sᵢ = Neutral\\2, & if Sᵢ = Positive\end{cases}$ |
Data Construction
Data Collection Process
For the data collection and preparation process of the BᴀɴɢʟᴀBᴏᴏᴋ dataset, we first compile a list of URLs for authors from online bookstores. From there, we procure URLs for the books. We meticulously scrape information such as book titles, author names, book categories, review texts, reviewer names, review dates, and ratings by utilizing these book URLs. [drawing]
Labeling, Translation, and Validation of the Curated Samples
If a review does not have a rating, we deem it unannotated. Reviews with a rating of 1 or 2 are classified as negative, a rating of 3 is considered neutral, and a rating of 4 or 5 is classified as positive. After discarding the unannotated reviews, we curate a final dataset of 158,065 annotated reviews. Of these, 89,371 are written entirely in Bangla. The remaining 68,694 reviews were written in Romanized Bangla, English, or a mix of languages. They are translated into Bangla with Google Translator and a custom Python program using the googletrans library. The translations are subsequently subjected to manual review and scrutiny to confirm their accuracy.
[drawing]
Results
Citation
If you find this work useful, please cite our paper:
@inproceedings{kabir-etal-2023-banglabook,
title = "{B}angla{B}ook: A Large-scale {B}angla Dataset for Sentiment Analysis from Book Reviews",
author = "Kabir, Mohsinul and
Bin Mahfuz, Obayed and
Raiyan, Syed Rifat and
Mahmud, Hasan and
Hasan, Md Kamrul",
booktitle = "Findings of the Association for Computational Linguistics: ACL 2023",
month = jul,
year = "2023",
address = "Toronto, Canada",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.findings-acl.80",
pages = "1237--1247",
abstract = "The analysis of consumer sentiment, as expressed through reviews, can provide a wealth of insight regarding the quality of a product. While the study of sentiment analysis has been widely explored in many popular languages, relatively less attention has been given to the Bangla language, mostly due to a lack of relevant data and cross-domain adaptability. To address this limitation, we present BanglaBook, a large-scale dataset of Bangla book reviews consisting of 158,065 samples classified into three broad categories: positive, negative, and neutral. We provide a detailed statistical analysis of the dataset and employ a range of machine learning models to establish baselines including SVM, LSTM, and Bangla-BERT. Our findings demonstrate a substantial performance advantage of pre-trained models over models that rely on manually crafted features, emphasizing the necessity for additional training resources in this domain. Additionally, we conduct an in-depth error analysis by examining sentiment unigrams, which may provide insight into common classification errors in under-resourced languages like Bangla. Our codes and data are publicly available at https://github.com/mohsinulkabir14/BanglaBook.",
}
Benchmarks archive 2025-07-28
All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| Sentiment Analysis | BanglaBook | Bangla-BERT (large) Weighted Average F1-score 0.9331 | BanglaBook: A Large-scale Bangla Dataset for Sentiment... | mohsinulkabir14/banglabook | 13 | Compare |
Papers archive 2025-07-28
papers with a benchmark row: 1 · with a code link: 1 · where Syntology ran a sample: 0 (0 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument) Syntology
Show: all papers with a benchmark rowonly where code ran: none of the 1 papers with a benchmark row has a Syntology run on record
Page 1 of 1: paper 1 of 1 with a leaderboard row on this dataset's benchmarks, newest first by the archive's date (ties by slug; undated papers last).
The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset, not that list; the archive's count for this dataset is 1. The Syntology column is from Syntology's graph, stated per sample; it is not part of any archive number. A line reads “N ran (of which C constructed an object rather than computing a result; K with no instrument failure: H honoured, V violated, P with no contract checked; I where Syntology's instrument failed) · U unverified” (C is a part of N, never taken away from it); the figure “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. “Ran” means the sample executed on a synthesized fixture, not that the paper's result was reproduced. When the archive marks a repository official for the paper, the cell starts with that repository's state (the archive's flag, not a verdict on who wrote the code; “community repositories only” when every sample that ran came from a community repository, “official: no sample here; runs from other or unrecorded repositories” when some came from a repository the paper names or has in its text, or from none recorded); hover it for the repositories the samples that ran came from. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record.
| Paper | Code | Results | Date | Samples run Syntology |
|---|---|---|---|---|
| BanglaBook: A Large-scale Bangla Dataset for Sentiment Analysis from Book Reviews | 1 | 13 | 11 May 2023 | not harvested |
Dataset loaders archive 2025-07-28
1 loader as listed in the archive; links are outbound and not re-checked here.
Tasks archive 2025-07-28
License archive 2025-07-28
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Modalities archive 2025-07-28
Languages archive 2025-07-28
Variants archive 2025-07-28
- BanglaBook
1 variant name, as the archive lists them.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections