NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Code Mixed Entity Extraction in Indian Languages using Neural Networks

Irshad Ahmad Bhat, Manish Shrivastava, Riyaz Ahmad BhatFIRE (Working Notes) 2016

Abstract

Named Entity Recognition (NER) is a foundational task in Natural Language Processing, yet it faces significant challenges in "code-mixed" environments where speakers alternate between languages. This paper presents a resource-light neural network approach for NER in Hindi-English code-mixed social media text. By utilizing concatenated word embeddings from both languages and simple non-lexical features, the authors achieved the top rank in the FIRE 2016 Shared Task with an F1-score of 68.24%.

Introduction

Identifying and categorizing entities like people, places, and organizations is essential for many downstream NLP tasks. However, traditional NER systems often rely on language-specific resources such as part-of-speech taggers or morphological analyzers. In code-mixed social media text, these tools frequently fail due to informal spelling, non-standard grammar, and the absence of clear language boundaries. This research sought to build a system that bypasses the need for complex, language-specific pipelines or pre-existing Language Identification (LID) systems.

Methodology

The authors implemented a Feed-Forward Neural Network (FFNN) with a single hidden layer, framing NER as a multi-class classification problem. Each token is assigned one of 20 possible entity tags or an "OTHER" tag.

The core innovation lies in the feature engineering for the input layer:

  • Distributed Word Representations: The model uses word2vec embeddings trained on large monolingual corpora (280M English sentences and 40M Hindi sentences).
  • Concatenated Embeddings: Instead of performing explicit language identification, the system concatenates vectors from both language spaces. To handle Hindi words written in Roman script, a transliteration system converts them to Devanagari before the Hindi embedding lookup.
  • Contextual and Morphological Features: The model considers a window of two words on either side of the target token and includes character-level prefixes and suffixes (length 3).
  • Non-lexical Features: Simple binary or binned features for capitalization and word length provide additional cues.

The model was optimized using Adagrad with dropout and l2-regularization to mitigate overfitting.

Dataset and Experimental Setup

The study utilized data from the FIRE 2016 Shared Task on Code Mixed Entity Extraction. The dataset focused on Hindi-English (H-E) tweets.

Distribution of entity tags in the training set, highlighting the significant class imbalance.

As shown in the tag distribution, the dataset is highly imbalanced. The "OTHER" tag (non-entities) dominates the training set, while several entity categories—such as "MONTH" or "SDAY"—have fewer than five occurrences. This imbalance presents a significant challenge for training robust classifiers for rare entities.

Results and Discussion

The system performed exceptionally well, securing first place in the shared task. The overall performance reached 80.92% Precision, 59.00% Recall, and an F1-score of 68.24%.

Detailed performance metrics across different entity tags.

Analysis of the results reveals that the model was highly effective for common categories like "ENTERTAINMENT" (0.76 F1) and "PERSON" (0.80 F1). However, it struggled with rare categories like "DISEASE" or "MATERIALS," where it scored 0.00 due to the lack of training examples. The system was generally conservative, exhibiting high precision but lower recall, meaning it was accurate when it did predict an entity but missed many instances.

Key Insights

  • Bypassing Language ID: By concatenating embeddings, the authors created a "two-way evidence" system that allows the neural network to determine which representation is more relevant, avoiding the error propagation common in pipelines that rely on a separate LID module.
  • Transliteration as a Bridge: Transliterating Roman-script Hindi back to Devanagari allowed the model to leverage rich monolingual Hindi data, bridging the gap between informal social media text and standard linguistic resources.
  • Resource-Light Design: The model's simplicity—requiring no gazetteers or complex linguistic tools—makes it easily replicable for other language pairs, provided unlabeled monolingual corpora are available.

Conclusion and Future Work

While the proposed method is effective and resource-light, it faces limitations due to data scarcity for rare tags and potential errors in the transliteration process. Future work could explore more complex architectures like LSTMs or CRFs to better capture long-distance dependencies in sequences. Additionally, expanding the testing to other language pairs would further validate the language-agnostic nature of the concatenated embedding approach.

Summary updated

BibTeX
@inproceedings{bhat2016code,
  author = {Irshad Ahmad Bhat and Manish Shrivastava and Riyaz Ahmad Bhat},
  title = {{Code Mixed Entity Extraction in Indian Languages using Neural Networks}},
  booktitle = {FIRE (Working Notes)},
  year = {2016},
  url = {https://openreview.net/forum?id=C8xnO5mdxC},
}
Figure