[Paper Review] PHINC: A Parallel Hinglish Social Media Code-Mixed Corpus for Machine Translation
This paper introduces PHINC, a large-scale parallel Hinglish (English-Hindi code-mixed) corpus of 13,738 social media sentences and their human-annotated English translations, collected from diverse platforms like Twitter and Facebook. The dataset enables training and evaluation of code-mixed machine translation systems, demonstrating that state-of-the-art models struggle with code-mixing, while a proposed translation architecture outperforms existing systems on this challenging data.
Code-mixing is the phenomenon of using more than one language in a sentence. It is a very frequently observed pattern of communication on social media platforms. Flexibility to use multiple languages in one text message might help to communicate efficiently with the target audience. But, it adds to the challenge of processing and understanding natural language to a much larger extent. This paper presents a parallel corpus of the 13,738 code-mixed English-Hindi sentences and their corresponding translation in English. The translations of sentences are done manually by the annotators. We are releasing the parallel corpus to facilitate future research opportunities in code-mixed machine translation. The annotated corpus is available at https://doi.org/10.5281/zenodo.3605597.
Motivation & Objective
- To address the lack of large-scale, high-quality parallel corpora for code-mixed English-Hindi social media text.
- To facilitate research in machine translation for code-mixed Indian languages, especially in informal, social media contexts.
- To evaluate the limitations of existing machine translation systems on code-mixed data and improve performance through a new architecture.
- To provide a resource that supports downstream tasks like language identification, named entity recognition, and part-of-speech tagging in code-mixed text.
- To release a well-documented, accessible, and reusable dataset under a CC-BY 4.0 license for the research community.
Proposed method
- Collected 49,602 code-mixed sentences from multiple social media platforms, including Twitter, Facebook, and public pages of celebrities.
- Applied pre-processing to filter sentences based on token count (5–40 tokens) and out-of-vocabulary (OOV) ratio (50–90%).
- Used the NLTK English dictionary to identify OOV words and retained only sentences with balanced code-mixing.
- Assigned 400 randomly selected sentences to each of 54 expert annotators proficient in both English and Hindi for manual translation into English.
- Applied strict annotation guidelines: preserve links, mentions, hashtags; correct spelling; use lowercase; mark ambiguous or abusive sentences with "#"; use "&" for already-grammatical English sentences.
- Developed a novel translation architecture (PPGT) that leverages Type-I and Type-II chunks to improve translation quality on code-mixed text.
Experimental results
Research questions
- RQ1How do state-of-the-art machine translation systems perform on code-mixed Hinglish social media text?
- RQ2What are the key challenges in translating code-mixed sentences with mixed scripts, spelling variations, and informal expressions?
- RQ3Can a new translation architecture outperform existing systems on a large-scale, parallel Hinglish corpus?
- RQ4To what extent does dataset diversity across social media platforms improve model generalization?
- RQ5How effective is a chunk-based approach (Type-I and Type-II) in improving translation quality for code-mixed text?
Key findings
- The final PHINC corpus contains 13,738 high-quality, human-annotated English translations of code-mixed English-Hindi sentences from diverse social media sources.
- State-of-the-art systems like Google Translate show poor performance on code-mixed text, with BLEU scores as low as 0.272 for BLEU-1 on complex examples.
- The proposed PPGT architecture significantly outperforms baseline models, demonstrating improved handling of code-mixing, spelling variations, and informal syntax.
- Human-annotated translations consistently outperform machine translations, especially in preserving meaning and handling idiomatic expressions.
- The dataset reveals significant challenges in handling OOV words, spelling variations (e.g., "mujhe", "mjhe"), and proper handling of social media elements like @mentions and hashtags.
- The corpus is publicly released under a CC-BY 4.0 license with rich metadata, ensuring accessibility, interoperability, and reusability for future research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.