All that is English may be Hindi: Enhancing language identification through automatic ranking of the likeliness of word borrowing in social media

Jasabanta Patro, Bidisha Samanta, Saurabh Singh, Abhipsa Basu, Prithwish Mukherjee, Monojit Choudhury, Animesh Mukherjee

Abstract

In this paper, we present a set of computational methods to identify the likeliness of a word being borrowed, based on the signals from social media. In terms of Spearman correlation coefficient values, our methods perform more than two times better (nearly 0.62) in predicting the borrowing likeliness compared to the best performing baseline (nearly 0.26) reported in literature. Based on this likeliness estimate we asked annotators to re-annotate the language tags of foreign words in predominantly native contexts. In 88 percent of cases the annotators felt that the foreign language tag should be replaced by native language tag, thus indicating a huge scope for improvement of automatic language identification systems.

Introduction

In multilingual societies, speakers frequently engage in code-mixing, the practice of switching between languages (e.g., Hindi and English) within a single utterance. A distinct but often conflated phenomenon is lexical borrowing, where a word from a foreign language ($L_2$) is integrated into the native language's ($L_1$) lexicon. For instance, words like "film" or "hospital" are used by monolingual Hindi speakers as native terms.

Current Automatic Language Identification (LID) systems often fail to distinguish between these two, tagging English-origin words as English even when they function as Hindi. This "purist" approach introduces noise into downstream NLP tasks. This paper addresses the challenge of capturing the dynamic, socio-linguistic process of borrowing using social media as a real-time sensor.

Methodology

The authors propose three novel metrics to quantify the "borrowedness" of a word using Twitter data:

  1. Unique User Ratio (UUR): The ratio of unique users employing the target word in native ($L_1$) contexts versus foreign ($L_2$) contexts.
  2. Unique Tweet Ratio (UTR): A similar ratio calculated based on total tweet counts.
  3. Unique Phrase Ratio (UPR): Measures how often a word is embedded within native-language phrases.

The underlying hypothesis is that words frequently appearing in predominantly Hindi tweets (e.g., 90% Hindi) are likely borrowed. These metrics are compared against a Baseline Metric from literature, which uses the log-ratio of a word's transliterated frequency in newspapers versus its translation frequency.

Experimental Setup

The study utilizes three primary datasets:

  • Twitter Dataset: ~725,000 tweets from 3,577 bilingual Hindi-English users.
  • Newspaper Corpus: The Hindi Jagaran newspaper corpus for baseline comparison.
  • Human Ground Truth: Rankings from 58 human judges for 57 target English words, assessing their "naturalness" in Hindi contexts.

Key Results

The proposed metrics significantly outperform the baseline in capturing human linguistic intuition. As shown in the correlation analysis, the proposed methods achieve a Spearman’s rank correlation of approximately 0.62, more than doubling the baseline's performance of 0.26.

Spearman correlation coefficients (ρ) for proposed metrics (UUR, UTR, UPR) and the baseline against human ground truth.

Demographic Insights

An interesting finding is that the proposed metrics correlate more strongly with the judgments of younger participants (under age 30). This suggests that social media signals are particularly effective at capturing language change led by the youth population, who are often the early adopters of borrowed terms.

Performance comparison (Precision/Recall) between Young (under 30) and Elder participants for the Baseline and UUR models.

Discussion and Conclusion

Social media acts as a powerful sensor for language evolution, capturing borrowing trends far earlier than formal dictionaries or newspapers. When the UUR model predicted a word was "surely borrowed," human annotators agreed in 88% of cases that the language tag should be switched from English to Hindi.

Integrating these borrowing scores into LID systems can significantly improve accuracy for multilingual NLP tasks. Future work will explore applying these methods to Information Retrieval and Speech Synthesis to ensure borrowed words are processed with the correct native-language context and phonetic characteristics.

Summary updated

BibTeX
@inproceedings{patro2017all,
  author = {Jasabanta Patro and Bidisha Samanta and Saurabh Singh and Abhipsa Basu and Prithwish Mukherjee and Monojit Choudhury and Animesh Mukherjee},
  title = {{All that is English may be Hindi: Enhancing language identification through automatic ranking of the likeliness of word borrowing in social media}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  url = {https://openreview.net/forum?id=r1bYp-GuWH},
}
Figure