Introduction
Sentiment analysis relies heavily on sentiment lexicons—curated lists of words with assigned polarities (positive or negative). While robust lexicons exist for English, many other languages face a significant "resource gap." A common approach is to translate English lexicons into target languages, but this often results in low coverage and the "conflation problem," where distinct English nuances are lost in generic translations. This paper, presented at COLING 2012, introduces a novel method to overcome these barriers by leveraging context-based machine translation (MT).
Methodology: MT as a Knowledge Base
The authors propose that online MT engines can be treated as interfaces to massive linguistic datasets. Translating words in isolation often yields only the most dominant, generic result. However, providing specific contexts "queries" the MT engine's internal data more effectively, producing diverse and accurate translations.
The proposed pipeline involves three primary context-generation techniques:
- Collocation: Using frequent n-grams to provide natural usage examples (e.g., "graceful voice").
- Coordinated Phrases: Joining two sentiment words with "and" to force the engine to find distinct target words and avoid redundancy.
- Punctuation: Adding simple punctuation (e.g., "effusive.") to help the MT engine correctly identify parts of speech.
The final workflow extracts sentiment-bearing candidates from these contextual translations, effectively capturing the "long tail" of expressive language, such as four-character Chinese idioms (Chengyu), which are often missing from standard bilingual dictionaries.
Evaluation and Results
The method was evaluated using the MPQA subjective lexicon as a source and tested against Chinese news (NTCIR) and social media (Weibo) datasets. The "CONTEXT" method produced a lexicon of 8,721 entries—nearly triple the size of direct MT translation—while maintaining a high precision of 91.5%.
As shown in the results, the context-based approach significantly outperformed standard dictionary and direct MT baselines. On the Weibo dataset, accuracy reached 73.5%, a substantial improvement over the 57.6% achieved by basic dictionary methods. This demonstrates the effectiveness of the approach for user-generated content where idiomatic language is prevalent.
Conclusion
By "prompting" MT engines with context, researchers can build expansive, high-quality sentiment lexicons for low-resource languages without expensive manual curation. While the extraction phase requires some language-specific tools like word segmenters, the core translation strategy is broadly applicable across various linguistic pairs.
Reference: Meng, X., Wei, F., Xu, G., Zhang, L., Liu, X., Zhou, M., & Wang, H. (2012). Lost in Translations? Building Sentiment Lexicons Using Context Based Machine Translation. Proceedings of COLING 2012: Posters.
Summary updated