license: mit
language:
- en
- bn
tags:
- En-Bn-Code-Mixed-Two-Class-Sentiment-Dataset
- code-mixed-sentiment-analysis
pretty_name: En-Bn-Code-Mixed-Two-Class-Sentiment-Dataset
๐ En-Bn-Code-Mixed-Two-Class-Sentiment-Dataset
The En-Bn-Code-Mixed-Two-Class-Sentiment-Dataset is a multilingual dataset of 100,000 product review texts designed for code-mixed sentiment analysis involving English, Bengali, and Roman Bengali.
Each record includes:
๐ Id
๐ ProductId
๐ฌ Code-Mixed-Text
๐ก Sentiment
The dataset captures diverse linguistic styles, authentic code-mixing, and real-world sentiment patterns from multilingual digital communication.
๐ Text Distribution
The dataset includes four major text categories, representing different levels of EnglishโBengali mixing. Each group is evenly structured across the dataset for balanced linguistic coverage.
๐ฌ๐ง English Texts: 15,000 โโโโโโโโโโโโโโโโโโโโโโ 15%
๐ง๐ฉ Bengali Texts: 15,000 โโโโโโโโโโโโโโโโโโโโโโ 15%
๐ EnglishโBengali Mixed Texts: 35,000 โโโโโโโโโโโโโโโโโโโโโโ 35%
๐ค EnglishโRoman Bengali Mixed: 35,000 โโโโโโโโโโโโโโโโโโโโโโ 35%
๐งฎ Total Samples: 100,000
๐ This distribution ensures the dataset provides a rich combination of monolingual and code-mixed samples suitable for multilingual model training.
๐งฉ Word Distribution
The dataset exhibits extensive lexical diversity across three language layers. Word counts demonstrate the dominance of English syntax, with embedded Bengali and Roman Bengali expressions adding cultural and emotional context.
โด๏ธ English Words: 6,870,500 โโโโโโโโโโโโโโโโโโโโโโโโโโ 71.5%
๐ก Bengali Words: 2,136,460 โโโโโโโโโโโโโโโโโโโโโโโโโโ 22.2%
๐ Roman Bengali Words: 601,220 โโโโโโโโโโโโโโโโโโโโโโโโโโ 6.3%
๐งพ Total Word Count: 9,608,180
๐ The mix of three distinct scripts provides valuable linguistic variability, allowing models to learn fine-grained lexical and orthographic distinctions.
๐ฌ Sentiment Distribution
The dataset follows a binary sentiment structure with positive and negative review labels. Unlike a perfectly balanced dataset, it naturally reflects real-world customer behavior โ where users share more positive experiences.
๐ Positive Reviews: 79.3% โโโโโโโโโโโโโโโโโโโโโโโโโโโ 79,300
๐ Negative Reviews: 20.7% โโโโโโโโโโโโโโโโโโโโโโโโโโ 20,700
๐ก Total Samples: 100,000
๐ This realistic sentiment imbalance provides a natural testing ground for building sentiment classification models robust to class skew.
๐ Summary
The En-Bn-Code-Mixed-Two-Class-Sentiment-Dataset provides a comprehensive resource for multilingual NLP and code-mixed text analysis. Key highlights include:
๐ Four-level text distribution โ English, Bengali, EnglishโBengali, EnglishโRoman Bengali
๐งฉ 9.6M words across three languages
๐ฌ Natural sentiment imbalance (79.3% positive, 20.7% negative)
๐ฃ๏ธ Rich linguistic variation for bilingual and transliterated text
โ๏ธ Ideal for:
Code-Mixed Sentiment Analysis
Language Identification
Cross-Lingual Embedding Learning
Multilingual Model Evaluation