Avaliação da Representação de Entrada para Identificação de Idioma em Textos Code-Mixed Hindi-Inglês
Evaluating Input Representation for Language Identification in Hindi-English Code Mixed Text
Evaluating Input Representation for Language Identification in Hindi-English Code Mixed Text
@misc{joshi2020evaluating,
title = {Evaluating Input Representation for Language Identification in Hindi-English Code Mixed Text},
author = {Ramchandra Joshi and Raviraj Joshi},
year = {2020},
eprint = {2011.11263},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2011.11263}
}
Joshi, R., & Joshi, R. (2020). Evaluating Input Representation for Language Identification in Hindi-English Code Mixed Text [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.11263
JOSHI R, JOSHI R. Evaluating Input Representation for Language Identification in Hindi-English Code Mixed Text[EB/OL]. (2020-11-23)[2026-11-29]. https://arxiv.org/abs/2011.11263.
Resumo
As técnicas de processamento de linguagem natural (PLN) tornaram-se mainstream na última década. A maioria desses avanços é atribuída ao processamento de uma única língua. Mais recentemente, com o extenso crescimento das plataformas de mídia social, o foco deslocou-se para textos mistos de código. Os textos mistos de código compreendem textos escritos em mais de uma língua. As pessoas tendem naturalmente a combinar a língua local com línguas globais como o inglês. Para processar tais textos, as técnicas atuais de PLN são insuficientes. Como primeiro passo, o texto é processado para identificar a língua das palavras no texto. Neste trabalho, focamos na identificação de língua em frases mistas de código para textos em hindi-inglês. A tarefa de identificação de língua é formulada como uma tarefa de classificação de tokens. No cenário supervisionado, cada palavra na frase possui um rótulo de língua associado. Avaliamos diferentes combinações de modelos de aprendizado profundo e representações de entrada para esta tarefa. Principalmente, embeddings de caractere, sub-palavra e palavra são considerados em combinação com modelos baseados em CNN e LSTM. Mostramos que a representação de sub-palavra, juntamente com o modelo LSTM, fornece os melhores resultados. Em geral, as representações de sub-palavra desempenham significativamente melhor do que outras representações de entrada. Relatamos a melhor precisão de 94,52% utilizando um modelo LSTM de camada única no conjunto de teste padrão SAIL ICON 2017.
Natural language processing (NLP) techniques have become mainstream in the recent decade. Most of these advances are attributed to the processing of a single language. More recently, with the extensive growth of social media platforms focus has shifted to code-mixed text. The code-mixed text comprises text written in more than one language. People naturally tend to combine local language with global languages like English. To process such texts, current NLP techniques are not sufficient. As a first step, the text is processed to identify the language of the words in the text. In this work, we focus on language identification in code-mixed sentences for Hindi-English mixed text. The task of language identification is formulated as a token classification task. In the supervised setting, each word in the sentence has an associated language label. We evaluate different deep learning models and input representation combinations for this task. Mainly, character, sub-word, and word embeddings are considered in combination with CNN and LSTM based models. We show that sub-word representation along with the LSTM model gives the best results. In general sub-word representations perform significantly better than other input representations. We report the best accuracy of 94.52% using a single layer LSTM model on the standard SAIL ICON 2017 test set.