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

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

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 conversation or sentence. However, a distinct phenomenon known as lexical borrowing occurs when a word from a foreign language ($L_2$) becomes integrated into the native language ($L_1$) to the extent that it is used even by monolingual speakers. Examples include "sale" in Dutch or "film" in Hindi.

Current Automatic Language Identification (LID) systems often fail to distinguish between these two. They typically tag borrowed words as $L_2$ based on etymology, even when the word functions as $L_1$ in context. This leads to significant errors in downstream natural language processing tasks. Because borrowing is a dynamic social process, static dictionaries are insufficient for identification. This research proposes using social media as a real-time sensor for language evolution.

Methodology

The study introduces three novel metrics to quantify the likeliness of a word being borrowed based on Twitter usage patterns:

  1. Unique User Ratio (UUR): The ratio of unique users employing the word in native contexts versus foreign contexts.
  2. Unique Tweet Ratio (UTR): A similar ratio calculated based on total tweet volume.
  3. Unique Phrase Ratio (UPR): An analysis of the language tags of the immediate linguistic neighborhood (phrases) surrounding the target word.

The underlying logic is that if a word is frequently used by individuals who rarely mix languages, or if it appears in tweets that are otherwise entirely in the native language, it is likely a borrowed term rather than an instance of code-mixing.

Key Results

The proposed metrics were validated against a ground truth survey of 58 native Hindi speakers. The results demonstrate a significant leap in predictive accuracy over traditional frequency-based baselines derived from newspaper corpora.

Extracted table from page 7 of All that is English may be Hindi: Enhancing language identification through automatic ranking of likeliness of word borrowing in social media

As shown in the results, the proposed metrics achieved a Spearman’s rank correlation ($ ho$) of approximately 0.62 to 0.67, more than doubling the performance of the newspaper-based baseline (~0.26). Furthermore, in a re-annotation experiment, expert annotators agreed in 88% of cases that words flagged by our model as "borrowed" should have their language tags changed from English to Hindi.

Sociolinguistic Insights

Two key insights emerged from the data analysis:

  • The "Low-Mixer" Signal: Users who mix languages the least are the most reliable indicators of borrowing. When a user who almost exclusively tweets in Hindi uses an English word like "hospital," it provides a much stronger signal of borrowing than when a frequent code-mixer uses it.
  • Youth as Drivers of Change: The metrics aligned more closely with the judgments of users under age 30 ($ ho = 0.62$) than those over 30 ($ ho = 0.53$), supporting the theory that language change is primarily driven by younger populations.
Extracted table from page 8 of All that is English may be Hindi: Enhancing language identification through automatic ranking of likeliness of word borrowing in social media

As illustrated in the user bucket analysis, the correlation is highest ($ ho = 0.65$) for the "Low" mixing bucket, confirming that infrequent mixers provide the cleanest signal for identifying lexical borrowing.

Conclusion

This research demonstrates that social media signals can effectively identify lexical borrowing in real-time. By leveraging the behavior of "low-mixers" and younger demographics, we can significantly improve the accuracy of Language Identification systems. Future work will focus on integrating these rankings into Information Retrieval and Speech Synthesis systems to ensure borrowed words are processed with appropriate native context and phonology.

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 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},
}

Loading related content...

Figure