Skip to main content
QUICK REVIEW

[Paper Review] Preparing Bengali-English Code-Mixed Corpus for Sentiment Analysis of Indian Languages

Soumil Mandal, Sainik Kumar Mahata|arXiv (Cornell University)|Mar 11, 2018
Sentiment Analysis and Opinion MiningComputer Science7 references36 citations
TL;DR

This paper presents a gold-standard Bengali-English code-mixed corpus for sentiment analysis, constructed using hybrid rule-based and supervised models to automate language and sentiment tagging, achieving 81% accuracy in language identification and 80.97% in sentiment classification. The corpus, released in JSON format with high inter-annotator agreement (kappa = 0.94 for sentiment), includes annotated data, lexicons, and a seed list for Twitter API queries.

ABSTRACT

Analysis of informative contents and sentiments of social users has been attempted quite intensively in the recent past. Most of the systems are usable only for monolingual data and fails or gives poor results when used on data with code-mixing property. To gather attention and encourage researchers to work on this crisis, we prepared gold standard Bengali-English code-mixed data with language and polarity tag for sentiment analysis purposes. In this paper, we discuss the systems we prepared to collect and filter raw Twitter data. In order to reduce manual work while annotation, hybrid systems combining rule based and supervised models were developed for both language and sentiment tagging. The final corpus was annotated by a group of annotators following a few guidelines. The gold standard corpus thus obtained has impressive inter-annotator agreement obtained in terms of Kappa values. Various metrics like Code-Mixed Index (CMI), Code-Mixed Factor (CF) along with various aspects (language and emotion) also qualitatively polled the code-mixed and sentiment properties of the corpus.

Motivation & Objective

  • To address the lack of high-quality, publicly available code-mixed corpora for Indian languages, particularly Bengali-English, in sentiment analysis.
  • To reduce manual annotation effort through hybrid systems combining rule-based and supervised models for language and sentiment tagging.
  • To develop a reliable, scalable pipeline for collecting and filtering high-quality code-mixed Twitter data.
  • To establish a gold-standard dataset with high inter-annotator agreement for benchmarking future NLP systems on code-mixed Indian languages.
  • To release a structured, machine-readable corpus in JSON format with language tags, sentiment polarity, and lexical resources.

Proposed method

  • Collected raw Twitter data using a seed list of 1,500 query terms to retrieve Bengali-English code-mixed content.
  • Implemented a filtering pipeline to improve data quality and reduce noise before annotation.
  • Developed a hybrid language identification system using character n-grams, lexicon matching, and supervised classifiers, achieving 81% accuracy.
  • Built a sentiment classification model combining rule-based polarity lexicons (1,200 phrasal, 3,000 unigram) and supervised learning (SGDC), reaching 80.97% accuracy.
  • Annotated the final corpus using trained annotators following standardized guidelines, ensuring high inter-annotator agreement (kappa = 0.83 for language, 0.94 for sentiment).
  • Released the dataset in JSON format to support hierarchical data representation and efficient processing.

Experimental results

Research questions

  • RQ1How can code-mixed Bengali-English social media data be efficiently collected and filtered to ensure high quality for NLP tasks?
  • RQ2What hybrid approach enables accurate and scalable language identification in code-mixed text with mixed scripts and grammars?
  • RQ3Can a combination of rule-based lexicons and supervised models improve sentiment classification accuracy in code-mixed Indian language text?
  • RQ4What is the inter-annotator agreement level for language and sentiment tagging in a Bengali-English code-mixed corpus?
  • RQ5How do linguistic features such as code-mixing index, emoticon usage, and word frequency correlate with sentiment in code-mixed data?

Key findings

  • The language tagging system achieved 81% accuracy on the final gold-standard data, demonstrating robustness in identifying mixed-language segments.
  • The sentiment classification system reached 80.97% accuracy and 81.2% F1-score, significantly outperforming monolingual models on code-mixed data.
  • Inter-annotator agreement was high, with Fleiss’ Kappa of 0.83 for language tagging and 0.94 for sentiment tagging, indicating strong annotation consistency.
  • Users tend to use more English polarity words than Bengali ones, with 587 positive and 416 negative English words in training data, compared to 118 and 757 in Bengali respectively.
  • The corpus includes a comprehensive set of lexical resources: 1,200 phrasal lexicons, 3,000 unigram lexicons of phonetically transliterated Bengali words, and a list of commonly used emoticons.
  • The final dataset is released in JSON format, enabling efficient storage and parsing of hierarchical, annotated data with language tags and sentiment labels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.