Call for Paper - January 2022 Edition
IJCA solicits original research papers for the January 2022 Edition. Last date of manuscript submission is December 20, 2021. Read More

A Sentiment Analysis Approach using Effective Feature Reduction Method

International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Year of Publication: 2017
Arash Mazidi, Elham Damghanijazi

Arash Mazidi and Elham Damghanijazi. A Sentiment Analysis Approach using Effective Feature Reduction Method. International Journal of Computer Applications 170(4):10-14, July 2017. BibTeX

	author = {Arash Mazidi and Elham Damghanijazi},
	title = {A Sentiment Analysis Approach using Effective Feature Reduction Method},
	journal = {International Journal of Computer Applications},
	issue_date = {July 2017},
	volume = {170},
	number = {4},
	month = {Jul},
	year = {2017},
	issn = {0975-8887},
	pages = {10-14},
	numpages = {5},
	url = {},
	doi = {10.5120/ijca2017914815},
	publisher = {Foundation of Computer Science (FCS), NY, USA},
	address = {New York, USA}


Sentiment analysis has attracted researchers in recent years which aims to present an automatic method for analyzing comments, assessments, opinions and sentiments of a text. In this paper, Ngram feature vector and POS (Part of Speech) are extracted from text and it is tried to find a proper combination of feature vectors so that texts can be classified as positive and negative opinions. In order to choose the most useful features, information gain ratio is used, then machine learning algorithms are used to investigate the effect of different features on sentiment analysis. In this paper, 4 groups of data are studied including film evaluation, products' evaluation (including book, DVD and electronics). Classification results are studied for three types of feature vectors: Ngram feature vector, POS feature vector and combination feature vector of Ngram with POS. results show that combinational feature vector performs better in sentiment analysis. By combining features, Boolean Multinominal Naïve Bayes (BMNB) results are improved compared to support vector machine classification algorithm.


  1. Ghiassi, M., Skinner, J. and Zimbra, D., 2013. Twitter brand sentiment analysis: A hybrid system using n-gram analysis and dynamic artificial neural network. Expert Systems with applications, 40(16), pp.6266-6282.
  2. Cambria, E., 2016. Affective computing and sentiment analysis. IEEE Intelligent Systems, 31(2), pp.102-107.
  3. Medhat, W., Hassan, A. and Korashy, H., 2014. Sentiment analysis algorithms and applications: A survey. Ain Shams Engineering Journal, 5(4), pp.1093-1113.
  4. Medhat, W., Hassan, A. and Korashy, H., 2014. Sentiment analysis algorithms and applications: A survey. Ain Shams Engineering Journal, 5(4), pp.1093-1113.
  5. Asghar, M.Z., Khan, A., Ahmad, S. and Kundi, F.M., 2014. A review of feature extraction in sentiment analysis. Journal of Basic and Applied Scientific Research, 4(3), pp.181-186.
  6. Mazidi, A., Fakhrahmad, M., & Sadreddini, M. 2016. A meta-heuristic approach to CVRP problem: local search optimization based on GA and ant colony. Journal of Advances in Computer Research, 7(1), 1-22.
  7. Damghanijazi, E., & Mazidi, A., 2017. Meta-Heuristic Approaches for Solving Travelling Salesman Problem. International Journal of Advanced Research in Computer Science. 8(4).
  8. Horri, A., Rahmanian, A., & Dastghaibyfard, G. H. 2015. Energy and performance-aware virtual machine consolidation in Cloud computing a two dimensional approach. Turkish Journal of Engineering, 1, 20–35.
  9. Rahmanian, A., Dastghaibyfard, G., & Tahayori, H. 2017. Penalty-aware and cost-efficient resource management in cloud data centers. International Journal of Communication Systems, 30(8), e3179.
  10. Ghobaei-Arani, M., Shamsi, M., & Rahmanian, A. A. 2017. An efficient approach for improving virtual machine placement in cloud computing environment. Journal of Experimental & Theoretical Artificial Intelligence, 1–23. 2017.1310308 .
  11. Pang, B., Lee, L. and Vaithyanathan, S., 2002, July. Thumbs up?: sentiment classification using machine learning techniques. In Proceedings of the ACL-02 conference on Empirical methods in natural language processing-Volume 10 (pp. 79-86). Association for Computational Linguistics.
  12. g, V., Dasgupta, S. and Arifin, S.M., 2006, July. Examining the role of linguistic knowledge sources in the automatic identification and classification of reviews. In Proceedings of the COLING/ACL on Main conference poster sessions (pp. 611-618). Association for Computational Linguistics.
  13. Gamon, M., 2004, August. Sentiment classification on customer feedback data: noisy data, large feature vectors, and the role of linguistic analysis. In Proceedings of the 20th international conference on Computational Linguistics (p. 841). Association for Computational Linguistics.
  14. Fei, Z., Liu, J. and Wu, G., 2004, September. Sentiment classification using phrase patterns. In Computer and Information Technology, 2004. CIT'04. The Fourth International Conference on (pp. 1147-1152). IEEE.
  15. Wiebe, J., Wilson, T., Bruce, R., Bell, M. and Martin, M., 2004. Learning subjective language. Computational linguistics, 30(3), pp.277-308.
  16. Abbasi, A., Chen, H., Thoms, S. and Fu, T., 2008. Affect analysis of web forums and blogs using correlation ensembles. IEEE Transactions on Knowledge and Data Engineering, 20(9), pp.1168-1180.
  17. Hall, M.A. and Smith, L.A., 1997. Feature subset selection: a correlation based filter approach.
  18. Abbasi, A., France, S., Zhang, Z. and Chen, H., 2011. Selecting attributes for sentiment classification using feature relation networks. IEEE Transactions on Knowledge and Data Engineering, 23(3), pp.447-462.
  19. Agarwal, B. and Mittal, N., 2013, March. Optimal feature selection for sentiment analysis. In International Conference on Intelligent Text Processing and Computational Linguistics (pp. 13-24). Springer Berlin Heidelberg.
  20. Blitzer, J., Dredze, M. and Pereira, F., 2007, June. Biographies, bollywood, boom-boxes and blenders: Domain adaptation for sentiment classification. In ACL (Vol. 7, pp. 440-447).
  21. WEKA. Open Source Machine Learning Software Weka,


Sentiment analysis, Feature selection method, machine learning, support vector machine, information gain, information gain ratio.