Elamur Research⌕
☰
home / papers / 2014 / Machine Learning based English Sentiment Analysis

Machine Learning based English Sentiment Analysis

Paper · 2014 · T. N. T. Tran, L. K. N. Nguyen and V. M. Ngo

Summary

The paper tackles three-way polarity classification of English product reviews, labelling each review as positive, negative or neutral so that sellers can gauge customer satisfaction. Despite the English title and abstract, the body is written in Vietnamese. The authors gathered reviews from Amazon for four categories of women's products: dresses, handbags, shoes and rings. From each review they keep only the product type, the title and the body text. They trained a Support Vector Machine using the WEKA library and wrapped it in a Java web application. The training set has 300 comments and the test set has 400. On the test set, F-measure is about 92% for positive, 87% for negative and 81% for neutral reviews. Negative reviews were predicted with very high precision but noticeably lower recall. The work is a small, practical baseline for review sentiment rather than a methodological advance. Its value lies in its clear class definitions and its per-class error accounting.

Key points

  • The data are Amazon reviews of four women's product types (dresses, handbags, shoes, rings), split into 300 training and 400 test comments. Gold labels in the test set are 140 positive, 130 negative and 130 neutral.
  • The method is an SVM classifier built with WEKA and deployed in a Java web program.
  • Per-class results:
    • positive: P 89.3%, R 95.0%, F 92.1%
    • negative: P 97.1%, R 78.5%, F 86.8%
    • neutral: P 76.7%, R 86.2%, F 81.2%
  • The system's predicted class counts were 149 positive, 105 negative and 146 neutral. It under-predicts the negative class and over-predicts neutral and positive. From these counts, roughly 87% of test items are labelled correctly.
  • The authors list three limitations as future work: they do not yet handle negation, comparative sentences or conditional sentences. They also plan to add product-specific vocabulary and more product types.

Interesting ideas

  • I1. Neutral is defined as either balanced praise and criticism or no evaluation at all, with hedge words like "ok" or "alright" as typical cues; this separates "mixed" from "absent" opinion conceptually even though both get one label.
  • I2. The surveyed Crystal system abstracts specific party names into role placeholders ("winning party" vs "other party"), copying a sentence once per mentioned party, so the classifier learns patterns about roles rather than names.
  • I3. The surveyed appraisal-group approach treats an evaluative phrase such as "not extremely brilliant" as the unit, with slots for appraiser, appraised target, appraisal type and orientation. Words are not the unit.
  • I4. The authors report both the gold class distribution and the predicted class distribution alongside per-class P/R/F, which immediately reveals that the model is conservative on negatives.
  • I5. Negation, comparatives and conditionals are named as the constructions that defeat the flat classifier.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (frames): the attitude layer in prag could keep "mixed evaluation" and "no evaluation" as distinct speaker stances, and expose hedges like "ok" as an explicit weak-approval act.
  • I2 (learn): when inducing repair rules or training on silver data, replacing named entities with their frame role could let one pattern generalize across many entities.
  • I3 (frames): an evaluation frame with these four slots, filled from the UD subtree of the adjective and its modifiers and negators, would give explainable sentiment instead of word counting.
  • I4 (learn): evaluation reports could always print the predicted-vs-gold label histogram per class, a cheap check that exposes systematic bias before reading individual errors.
  • I5 (answer): these three constructions could be turned into targeted test sets for review-style QA, checking that polarity flips or is suspended correctly according to the UD tree.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Cite

Cite as T. N. T. Tran, L. K. N. Nguyen and V. M. Ngo. 2014. Machine Learning based English Sentiment Analysis. arXiv:1905.06643 · Journal of Science and Technology, Vietnam Academy of Science and Technology, Vol. 52, No. 4D, pp. 142-155 (2014).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1905.06643 · arXiv 1905.06643

@misc{tran2014machine,
  title = {{Machine Learning based English Sentiment Analysis}},
  author = {T. N. T. Tran, L. K. N. Nguyen and V. M. Ngo},
  year = {2014},
  doi = {10.48550/arxiv.1905.06643},
  eprint = {1905.06643},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1905.06643}
}

References

1 references, 0 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. 2. Kim S. M. and Hovy E. - Crystal: Analyzing Predictive Opinions on the Web, Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, Association for Computational Linguistics (2007) 1056-1064. 3. Whitelaw C., Garg N. and Argamon S. - Using Appraisal Groups for Sentiment Analysis, Proceedings of the 14th ACM international Conference on Information and Knowledge Management (2005) 625-631. 4. Balahur A., Hermida M. J. and Montoyo A. - Detecting Implicit Expressions of Sentiment in Text Based on Commonsense Knowledge, Proceedings of the 2nd Workshop on Computational Approaches to Subjectivity and Sentiment Analysis, Association for Computational Linguistics (2011) 53-60. 5. Kieu T. B. and Pham B. S. - Sentiment Analysis for Vietnamese. Proceedings of the 2nd International Conference on Knowledge and Systems Engineering, IEEE Computer Society (2010) 152-157. 6. O’Neil A. - Sentiment Mining for Natural Language Documents, COMP3006 Prpject Report, Department of Computer Science, Australian National University (2009) 1-20. 7. Yi J., Nasukawa T., Bunescu R. and Niblack W. - Sentiment Analyzer: Extracting Sentiments about a Given Topic using Natural Language Processing Techniques. Proceedings of the Third International Conference on Data Mining, IEEE Computer Society (2003) 427-434. 8. Duong T. H. H., Dai T. V., Ngo V. M. - Detecting Vietnamese Opinion Spam. In Proceedings of Scientific Researches on the Information and Communication Technology in 2012 (ICTFIT'12), Publishers of Engineering Sciences, Vietnam (Vietnamese title: "Phát hiện đánh giá spam cho tiếng Việt") (2012) 53-59. 9. Lau R.Y.K., Li C. and Liao S.S.Y. - Social analytics: Learning fuzzy product ontologies for aspect-oriented sentiment analysis. In Decision Support Systems, Elsevier (online 2014) 1-15. 10. Ngo, V. M., Cao, T.H. Discovering Latent Concepts and Exploiting Ontological Features for Semantic Text Search. In Proceedings of the 5th International Joint Conference on Natural Language Processing (IJCNLP-2011), pp. 571-579. 11. Cao, T. H., Ngo, V. M. Semantic Search by Latent Ontological Features. In International Journal of New Generation Computing, Springer-Verlag, SCI, Vol. 30, No.1, pp. 53-71 (2012). find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/tran-2019-machine-learning-based-english-sentiment/