arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.05725cs.CL
收藏

基于单语到合成码转换文本标签转换的情感检测算法

Improved Sentiment Detection via Label Transfer from Monolingual to Synthetic Code-Switched Text

Indian Institute of Technology, Kharagpur(印度理工学院克勒格布尔分校);Indian Institute of Technology, Bombay(印度理工学院孟买分校)

Bidisha Samanta, Niloy Ganguly, Soumen Chakrabarti

摘要:

多语种作家和演讲者经常在一个语篇中交替使用两种语言,这种做法被称为“语码转换”。现有的情感检测方法通常在情感标记的单语文本上训练。手动标记的代码转换文本,特别是涉及少数民族语言的文本,是非常罕见的。因此,最好的单语方法在代码转换文本上的表现相对较差。我们提出了一种有效的技术,从标记的单语文本,这是更容易获得的标记代码转换的文本。我们的想法是取代精心挑选的子树的选区分析的句子中的资源丰富的语言与合适的令牌跨度从自动翻译到资源贫乏的语言。通过用大量的合成代码转换文本来增强稀缺的人类标记的代码转换文本,我们在三种不同的语言对(英语-印地语,英语-西班牙语和英语-孟加拉语)的情感标签准确率(1.5%,5.11%,7.20%)方面取得了显着的提高。我们还在仇恨言论检测方面获得了显着的收益:仅使用合成文本时提高了4%,如果使用真实文本进行增强,则提高了6%。

英文摘要:

Multilingual writers and speakers often alternate between two languages in a single discourse, a practice called "code-switching". Existing sentiment detection methods are usually trained on sentiment-labeled monolingual text. Manually labeled code-switched text, especially involving minority languages, is extremely rare. Consequently, the best monolingual methods perform relatively poorly on code-switched text. We present an effective technique for synthesizing labeled code-switched text from labeled monolingual text, which is more readily available. The idea is to replace carefully selected subtrees of constituency parses of sentences in the resource-rich language with suitable token spans selected from automatic translations to the resource-poor language. By augmenting scarce human-labeled code-switched text with plentiful synthetic code-switched text, we achieve significant improvements in sentiment labeling accuracy (1.5%, 5.11%, 7.20%) for three different language pairs (English-Hindi, English-Spanish and English-Bengali). We also get significant gains for hate speech detection: 4% improvement using only synthetic text and 6% if augmented with real text.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑