Improved Sentiment Detection via Label Transfer from Monolingual to Synthetic Code-Switched Text

Bidisha Samanta, Niloy Ganguly, Soumen Chakrabarti
6/13/2019
cs.CL

Official code: bidishasamantakgp/2019_CSGen_ACL (6 stars, C++, last commit 2020-02-20).

Abstract

Multilingual writers and speakers often alternate between two languages in a single discourse, a practice called "code-switching". Existing sentiment detection methods are usually trained on sentiment-labeled monolingual text.

Show full abstract

Manually labeled code-switched text, especially involving minority languages, is extremely rare. Consequently, the best monolingual methods perform relatively poorly on code-switched text. We present an effective technique for synthesizing labeled code-switched text from labeled monolingual text, which is more readily available. The idea is to replace carefully selected subtrees of constituency parses of sentences in the resource-rich language with suitable token spans selected from automatic translations to the resource-poor language. By augmenting scarce human-labeled code-switched text with plentiful synthetic code-switched text, we achieve significant improvements in sentiment labeling accuracy (1.5%, 5.11%, 7.20%) for three different language pairs (English-Hindi, English-Spanish and English-Bengali). We also get significant gains for hate speech detection: 4% improvement using only synthetic text and 6% if augmented with real text.

View on arXivView PDF

Code Implementations(1)

code for the paper "Improved Sentiment Detection via Label Transfer from Monolingual to Synthetic Code-Switched Text" accepted ACL 2019 https://arxiv.org/abs/1906.05725

61C++, PythonJun 14, 20196 years ago

Similar Papers

Cite this paper

@article{samanta2019improved,
  title  = {Improved Sentiment Detection via Label Transfer from Monolingual to Synthetic Code-Switched Text},
  author = {Bidisha Samanta and Niloy Ganguly and Soumen Chakrabarti},
  year   = {2019},
  eprint = {1906.05725},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.05725}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.05725.svg)](https://codeofpaper.com/paper/1906.05725)

Discussion