Open Access iconOpen Access


Multi Layered Rule-Based Technique for Explicit Aspect Extraction from Online Reviews

Mubashar Hussain1, Toqir A. Rana2,3, Aksam Iftikhar4, M. Usman Ashraf5,*, Muhammad Waseem Iqbal6, Ahmed Alshaflut7, Abdullah Alourani8

1 School of Systems and Technology, University of Management and Technology, Lahore, 54770, Pakistan
2 Department of Computer Science and It, The University of Lahore, Lahore, 54000, Pakistan
3 School of Computer Sciences, Universiti Sains Malaysia (USM), Penang, 11800, Malaysia
4 Department of Computer Science, Comsats University Islamabad, Lahore, 54000, Pakistan
5 Department of Computer Science, GC Women University Sialkot, Pakistan
6 Department of Software Engineering, The Superior University, Lahore, 53700, Pakistan
7 Faculty of Computing and It, Albaha University, Albaha, Saudi Arabia
8 Department of Computer Science, Majmaah University, Saudi Arabia

* Corresponding Author: M. Usman Ashraf. Email: email

Computers, Materials & Continua 2022, 73(3), 4641-4656.


In the field of sentiment analysis, extracting aspects or opinion targets from user reviews about a product is a key task. Extracting the polarity of an opinion is much more useful if we also know the targeted Aspect or Feature. Rule based approaches, like dependency-based rules, are quite popular and effective for this purpose. However, they are heavily dependent on the authenticity of the employed parts-of-speech (POS) tagger and dependency parser. Another popular rule based approach is to use sequential rules, wherein the rules formulated by learning from the user’s behavior. However, in general, the sequential rule-based approaches have poor generalization capability. Moreover, existing approaches mostly consider an aspect as a noun or noun phrase, so these approaches are unable to extract verb aspects. In this article, we have proposed a multi-layered rule-based (ML-RB) technique using the syntactic dependency parser based rules along with some selective sequential rules in separate layers to extract noun aspects. Additionally, after rigorous analysis, we have also constructed rules for the extraction of verb aspects. These verb rules primarily based on the association between verb and opinion words. The proposed multi-layer technique compensates for the weaknesses of individual layers and yields improved results on two publicly available customer review datasets. The F1 score for both the datasets are 0.90 and 0.88, respectively, which are better than existing approaches. These improved results can be attributed to the application of sequential/syntactic rules in a layered manner as well as the capability to extract both noun and verb aspects.


Cite This Article

M. Hussain, T. A. Rana, A. Iftikhar, M. U. Ashraf, M. W. Iqbal et al., "Multi layered rule-based technique for explicit aspect extraction from online reviews," Computers, Materials & Continua, vol. 73, no.3, pp. 4641–4656, 2022.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1249


  • 535


  • 0


Share Link