Genre-Based Stages Classification for Polarity Analysis

Genre-Based Stages Classification for Polarity Analysis

Proceedings of the Twenty-Eighth International Florida Artificial Intelligence Research Society Conference Genre-Based Stages Classification for Polarity Analysis John Roberto, Maria Salamo,´ and M. Antonia` Mart´ı University of Barcelona Gran Via 585, 08007 Barcelona, Spain froberto.john,maria.salamo,amartigub.edu Abstract the customer review and, consequently, they can be repre- sented by a set of functional types of stages (Martin 1993; Polarity detection of Online Reviews is one of the most Swales 1990). popular tasks related to Opinion Mining. Given that most state-of-the-art solutions ignore the structural as- In our view, the first type of information, experiences, is pects of a review, we present an approach to polarity related to general information about the user, for example: detection that, first, distinguishes stages in the genre of “Having got married last week my new husband and I went hotel reviews and, subsequently, evaluates the useful- for a few days to the ...”. This information is not restricted ness of each type of stage in the determination of the to any domain. In contrast, the second type of information, polarity of the entire review. Our experiments show that product descriptions (subjective and objective descriptions), our proposal provides good accuracy rates in identify- is related to the customer experience with a specific prod- ing the overall polarity of a review by using a very small “the image quality and general shooting proportion of the text. uct, for example: performance are top-notch”. In accordance with marketing research theories, this information is largely based on cog- Introduction nitive learning and coupled with credible experience with many offerings and brands within a product category. Fi- Research on Opinion Mining focuses on classifying the po- nally, the third type of information, opinions, is associated larity (positive, negative) of opinionated texts such as re- with user self-awareness and introspection, for example: “I views from the perspective of textual evidence. Most of the would buy this phone again”. We argue that these three types work in the field has been intensively applied on the En- of stages are present in a standard hotel review, and that they glish language but Spanish is required. In this article, we do not contribute in the same way to the expression of polar- describe a genre-based method for the polarity analysis of ity. Spanish reviews. The genre of texts has been considered by many authors to be a relevant factor in the detection of affect and emotion (Pajupuu, Kerge, and Altrov 2012; Li et al. 2012). In a broad sense, Swales (1990) considers Data that each genre is characterized by a “schematic structure” composed of different types of stages, each one with a goal- With the objective of evaluating the usefulness of each type oriented function. In functional theories of discourse, stages of stage to determine the polarity of the reviews, we col- are typical sequences of sentences (or paragraphs) that char- lected 150 reviews from Tripadvisor.com. This corpus was acterize the information structure (local and global) of dif- hand-labeled with stage types and enriched with a variety ferent text genres. We propose to split reviews into different of linguistic data (e.g. PoS, domain and stage terms), which types of functional stages and subsequently select only the were provided by automatic or semi-automatic annotation most relevant ones in order to obtain their overall polarity. mechanisms. Once the corpus was annotated, we analyzed the distribu- Stages in Hotel Reviews tion of the stages of the reviews. Figure 1 shows the break- Customer reviews in general are not overly complex in struc- down of high-level stages for the 150 reviews. Figure 1A ture. According to Ricci and Wietsma (2006), a review can groups the reviews with the same stage patterns. The ma- be defined as a subjective piece of text describing user ex- jority of reviews are grouped around the sequence narra- periences, product knowledge and opinions –together with tive > descriptive > introspective (N-D-I), which can be re- a final product rating. Each of these types of information ferred to as the prototypical or canonical pattern in hotel re- plays a distinct function in achieving the overall purpose of views. In Figure 1B we have grouped the reviews according to the number of stages that they contain. We validate the re- Copyright c 2015, Association for the Advancement of Artificial liability of manual annotation by applying machine learning Intelligence (www.aaai.org). All rights reserved. techniques (see section below). 229 lo recomendar´ıa a nadie “I would not recommend it to any- body”). [f 3 to f 5] Grammatical person (1st, 2nd and 3rd): we hypothesized that narratives are written basically in first per- son (e.g. pasamos dos d´ıas agradables “we spent two nice days”), descriptions in third person (e.g. el hotel esta´ en una ubicacion´ muy apropiada “the hotel is at a very conve- nient location”) and introspections in first person (e.g. no me plantear´ıa alojarme en ningun´ otro sitio “I would not con- sider staying anywhere else”) or second person (e.g. tendr´ıas que considerar otras opciones “you should certainly con- sider other options”). [f 6] Domain-specific terms: we hypothesized that domain-specific terms occur more often in descriptive stages (e.g. personal “staff”, registrarse “check-in”). [f 7 and f 8] Stage-specific terms (single words and tri- grams): we hypothesized that there are single words and trigrams that characterize each type of stage in accordance with the type of information that they contain: narrative (e.g. Figure 1: Reviews grouped by number and distribution of casados “married”, por tres dias “for three days”), descrip- stages. tive (e.g. precioso “gorgeous”, muy cerca de “very close to”) and introspective (e.g. desear “wish”, mi proximo´ viaje “my next trip”). Experiments and Results [f 9 to f12] Lexical aspect of verbs (accomplishments, achievements, states and activities)1: we hypothesized that We evaluated our hypothesis with two experiments: stage typical activity verbs (e.g. caminar “walk”) are more com- categorization and polarity analysis. The purpose of the first mon in narrative stages, while typical stative verbs (e.g. experiment was to detect and characterize the three types of tener “have”) are more frequent in descriptive stages. stages: narrative, descriptive and introspective. The second [f13] Verb frequency: we hypothesized that verb fre- experiment assessed the usefulness of the different type of quency in narrative stages is higher than in descriptive stages to improve opinion polarity classification. stages. [f14] Summing-up discourse markers: we hypothesized Stage Categorization that discourse markers expressing conclusion or summary In this experiment, we applied a machine learning approach are typical of introspective stages (e.g. en resumen “in to the automatic detection and characterization of stage short”). types in hotel reviews using a pre-established set of features. The resulting matrix of features, M, contains m rows and Stages were first transformed into a representation suitable f columns, where each row, mi corresponds to an example for the application of classification algorithms. In our study, of stage type and each column fj is one of the fourteen fea- we used a set of features, F , that characterize the set of tures previously defined. Accordingly, for simplifying no- th stages, S. We constructed a matrix M setting out the stages tation, we use mij to refer to the value of the i example as rows and the features as columns: M = fS x Fg. The max- for the jth feature. We performed a linear transformation imum number of stages in the document collection is 450 on the original data to scale the value of all features in the (150 reviews x 3 possible types of stages per review), there- range [0..1]. The normalization is calculated by the formula fore S = fs1...s≤450g. It should be noted that for each review Norm(mij) = mij −min(fj)=max(fj)−min(fj), where we put together stages with the same label. For example, in mij is the current value of the ith example for jth feature, the sequence descriptive > narrative > descriptive we ac- min(fj) is the minimum value for feature fj among all ex- count for 2 stages (types). amples, and max(fj) is the maximum value for feature fj We propose a set of 14 features which best distinguish among all examples. between types of stages: F = ff1...f14g. In the following, We conducted our experiments using the Weka frame- we list these features and we discuss the theoretical back- work. We experimented with four mainstream classification ground that leads us to propose each feature: algorithms, two feature selection methods, and one search method –the complete list is available at the bottom of Ta- [f 1] Word count per stage: we hypothesized that there is ble 1. The dataset was split into training and test sets using a a significant difference in the number of words in each type stratified 10-fold cross-validation for the four possible stage of stage: description and narration stages tend to be longer configurations: N\D, N\I, D\I, and N\D\I. than the introspective stage. The results are summarized in Table 1. The first column [f 2] Tense and mood: we hypothesized that conditional shows the four different configurations of the target con- and subjunctive forms of verbs, together with the future tense, are characteristic of introspective stages (e.g. no se 1Polysemous verbs were not disambiguated. 230 cepts: narrative versus descriptive versus introspective, nar- stages: this feature appears in all configurations involving rative versus descriptive and so on. Column two contains the descriptions (N\D\I, N\D, D\I).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    4 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us