Elamur Research

Sentiment Analysis of Hindi Reviews based on Negation and Discourse Relation

Paper · 2013 · Namita Mittal, Basant Agarwal, Garvit Chouhan et al.

Summary

A Hindi movie review can contain favorable words and still express an unfavorable opinion. A negation can reverse what an adjective conveys, and a contrast can make a criticism more important to the review’s conclusion than the praise that precedes it. Mittal and colleagues study these problems in sentiment analysis, the task of identifying an opinion expressed in text. They classify whole Hindi movie reviews by adding up word sentiment scores, with rules that change how negated words and clauses linked by certain conjunctions contribute. They also expand HindiSentiWordNet, the dictionary from which those scores come, to cover more of the language reviewers use.

The authors first build an evaluation collection from Hindi review websites. They crawl 900 reviews and manually remove 130 for being objective in character. The agreed set contains 662 reviews, with 380 labeled positive and 282 labeled negative. The system gets its word scores from HindiSentiWordNet. To expand the dictionary, the authors look for missing adjectives and adverbs, use English SentiWordNet to find scores for suitable senses of their translations, and add Hindi entries. They also extend coverage of inflected forms, so that more of the variants found in review text can receive scores.

The original dictionary yields 50.45% overall accuracy on the 662 reviews when the system simply aggregates word scores. The expanded dictionary raises accuracy to 69.78% in the results table, while the discussion gives 69.79% for the same setting. With negation rules, overall accuracy reaches 78.39%. Adding discourse rules brings it to 80.21%. In that final setting, accuracy is 82.89% on the positive reviews and 76.59% on the negative reviews. The class results add an important detail. Adding negation improves accuracy on negative reviews while reducing accuracy on positive ones, and adding discourse improves the negative result while the reported positive rate stays the same.

The comparisons show where the changes help in this collection. Expanding the dictionary makes more words available as evidence. Negation changes the sign of scores within a rule-defined span, and discourse rules give preference to the part of a passage that a contrast or conclusion makes more consequential. The authors evaluate these changes in a cumulative sequence on their agreed set of Hindi movie reviews. Their results establish how the successive settings perform there, while accuracy on other kinds of Hindi writing remains an open question.

Deep dive: Sentiment Analysis of Hindi Reviews based on Negation and Discourse Relation

The paper tests how a larger Hindi sentiment lexicon, negation rules, and discourse cues improve the classification of Hindi movie reviews. · about 34 minutes to read

The problem and its context

What a review label is meant to capture

A movie review can describe a story, discuss performances, and offer a verdict in the same document. The paper’s task is a form of text classification. The input is a whole review, and the desired output describes its overall orientation. A favorable remark about one aspect of a film can coexist with an unfavorable verdict. The classifier has to arrive at a review-level decision from evidence that can be scattered across the document and can point in different directions.

This scope matters because an expression of sentiment has both a location and an object. A reviewer may praise an actor and criticize the direction. At the level of the document, both judgments contribute evidence about a movie review, even though they apply to different things. The authors choose a decision procedure that aggregates evidence across the review. Their evaluation asks whether the resulting label agrees with the assigned label for the document. Finding every judgment and identifying exactly what it concerns would require a different evaluation.

The authors motivate the work by pointing to the growth of Hindi content on the web and the value of understanding the opinions people express there. They mention uses such as recommendation and advertising, where reviews can indicate what people like and dislike. In their account, most sentiment research had concentrated on English, and Hindi had received considerably less attention. They treat Hindi as a low-resource language for this task because the annotated data and language-processing resources available to them were limited.

An annotated collection is important to both rule-based and supervised approaches, though the roles differ. Supervised machine learning uses labeled examples to fit a classifier. A system that assigns labels from a dictionary and explicit rules can make predictions without that fitting step, but it still needs human judgments to tell whether its predictions are right. The authors identify a shortage of suitable labeled Hindi data as an obstacle to supervised work in their setting. They create an evaluation collection of their own and use a lexical scoring procedure to make the predictions.

The paper also describes a shortage of efficient Hindi parsers and taggers. A parser would identify structural relations among parts of a sentence. A tagger would assign categories such as adjective or adverb to individual words. These tasks matter to sentiment analysis because structure helps determine what a negation applies to, and grammatical category helps select words for a sentiment dictionary. The proposed review classifier relies on signals it can express in rules, including the order of words and the locations of conjunctions and delimiters. The dictionary expansion, meanwhile, targets grammatical categories that the authors consider useful sources of sentiment.

Why a sentiment dictionary needs both reach and context

HindiSentiWordNet, abbreviated HSWN, is the paper’s source of word polarity scores. Polarity is the favorable or unfavorable direction associated with a word, and the size of a score allows the direction to have varying strength. A score supplies starting evidence for the review classifier. If the dictionary has no entry for a word used by a reviewer, the ordinary lookup cannot supply that evidence. The effects of a missing entry can be especially visible when that word carries much of the evaluation in its sentence.

The authors identify a problem of morphology, the way words take different forms. An inflected word is a grammatical variant of a word, and a reviewer may use a variant different from the one in the dictionary. HSWN already contains entries in inflected forms, but the authors say that many forms are missing. A dictionary can therefore contain the relevant vocabulary in one sense and still fail at the point of lookup. The form encountered in a review has to connect to an entry the classifier can use.

Coverage also differs from appropriateness. A word may have several senses, and a score associated with one of those senses may poorly represent another. The paper describes HSWN as having been built with resources from Hindi WordNet and English SentiWordNet. In the authors’ account, its construction assumes that synonyms share a polarity and that antonyms have opposite polarity. They see a problem with transferring scores under those assumptions because words related in meaning can still express judgments of different strength. The paper’s discussion of intensity concerns the values that feed the sum, as well as the direction of the final decision.

Using a bilingual resource introduces a related judgment. A plausible English translation may give access to a score, but the score is useful only to the extent that the translated sense matches the Hindi word in its intended use. The authors point out that translation dictionaries can omit words, that a word can occur in several contexts, and that mapping the right senses can take manual effort. A translation can also lose context. Their expansion procedure works within those constraints by selecting a sense appropriate to a domain, with movie reviews defining the relevant domain for their experiments.

The earlier approaches the paper discusses

The paper presents Joshi and colleagues’ work as a fallback strategy for Hindi sentiment analysis. Their approaches included analysis directly in Hindi, machine translation, and analysis using lexical resources. The distinction is about where the system gets its ability to interpret an opinion. It can work with the original language, use translated text, or rely on a language resource that carries sentiment information. The authors identify this work as the source of HSWN and take that dictionary as the starting point for their own Hindi review classifier.

Bakliwal and colleagues provide a different route to obtaining sentiment vocabulary. One study uses synonym and antonym relations to construct a subjectivity lexicon, a collection of words associated with opinion. The paper describes the procedure as traversal through a graph of word relations. This turns relations among words into a way to spread information about their sentiment orientation. The new expansion procedure in Mittal and colleagues’ paper addresses a narrower problem in the resource they already have. It starts with forms found in reviews whose entries are missing and determines what scores to add.

Another study by Bakliwal and colleagues examines scoring for Hindi review classification and combines ordinary and part-of-speech-tagged n-grams. An n-gram is a sequence of adjacent items. A sequence can preserve some local context that isolated word counts would lose, and part-of-speech tagging identifies grammatical categories of words. Mittal and colleagues also seek contextual information, but the context they describe is expressed through rules for cues such as negation markers and conjunctions. A rule can say how such a cue changes the score of surrounding words or the treatment of a passage.

The related-work section also mentions Ambati and colleagues’ work on detecting errors in a Hindi dependency treebank, an annotated collection that records grammatical relations. That study concerned the quality of a language resource. Its place in the discussion helps explain the wider setting in which the authors were working. A sentiment classifier had to be built while other researchers were also developing and checking the resources available for analyzing Hindi sentence structure.

The paper draws on previous work for its treatment of discourse analysis, which studies relations among portions of a text. In the authors’ discussion, discourse relations can explain how neighboring clauses fit together, and connectives can help signal the relation. Their account of coherence cites Wolf and Gibson’s work. They also discuss Mukherjee and Bhattacharyya’s use of discourse markers in sentiment classification, where connective information supplements a bag of words, a representation that treats words as a collection without preserving their sequence as sentence structure. The Hindi review study applies that general motivation to particular conjunctions and spells out how those cues can change which text contributes to the review score. Representing Discourse Coherence: A Corpus-Based Study

The method, step by step

The classifier works by giving words numerical sentiment values and adding their contributions. The authors modify what can enter that sum in several ways. They increase the number of review words that can be found in HSWN, mark words whose polarity should be reversed, and use discourse cues to select or favor parts of the text. A final decision follows from the sign of the aggregate. The same basic scoring procedure also makes it possible to evaluate earlier settings with fewer of those changes enabled.

Preparing and scoring Hindi movie reviews

The steps in order.

Preparing and scoring Hindi movie reviewsStep 1: Collect reviews and establish sentiment labels1. Collect reviews and establish sentiment labelsStep 2: Expand missing entries in the Hindi lexicon2. Expand missing entries in the Hindi lexiconStep 3: Preprocess the text of each review3. Preprocess the text of each reviewStep 4: Mark negation and apply discourse rules4. Mark negation and apply discourse rulesStep 5: Look up scores and reverse marked polarities5. Look up scores and reverse marked polaritiesStep 6: Add token scores across the review6. Add token scores across the reviewStep 7: Assign a label from the total7. Assign a label from the total

Establishing the evaluation labels

The authors obtain 900 reviews by crawling Hindi review websites. They manually reject 130 reviews judged objective, leaving 770 for the agreement process. An objective account can contain details about a movie without presenting the kind of positive or negative verdict the authors want to test. This screening step defines what sort of document reaches the labeling stage. The resulting evaluation set focuses on opinionated reviews for which a positive or negative label can be agreed.

The paper describes the agreement process using Cohen’s kappa and Fleiss kappa. Kappa is an agreement statistic that takes into account the agreement expected by chance. The authors associate Cohen’s kappa with establishing agreement on 662 of the remaining reviews and then report a Fleiss kappa coefficient of 0.8092, which they describe as substantial agreement. The paper gives the numbers for the resulting collection more clearly than it lays out the sequence of individual labeling decisions. The agreed labels are positive for 380 reviews and negative for 282.

The human labels supply the answer against which the classifier is tested. When a document is scored, its label comes from word values and rules. The assigned human label is used to check the result. In this setup, the paper describes assembling data, enriching a lexical resource, and devising linguistic rules. The fitting of a supervised document classifier from labeled reviews is outside the procedure it presents. The authors report that reviews in the dataset average 104 words, so the sum is applied to documents that can contain several separate expressions of sentiment.

Expanding the dictionary before scoring

The expansion begins with adjectives and adverbs found in the corpus. An adjective can express a judgment about a thing or person, while an adverb can qualify a description, action, or judgment. For the enrichment procedure, these categories define where the authors look for candidate entries. They compare the words they find with HSWN and focus on the words that are missing. The paper also identifies inflected variants of roots already in HSWN as forms to add.

There is a practical difference between a missing form and a missing evaluative word. In the former case, the vocabulary may already be represented under another grammatical form, but the lookup can miss the version that occurs in the review. In the latter case, the lookup lacks a sentiment entry for the vocabulary itself. The expansion aims to address both sources of misses. It uses the observed language of the review collection to decide where to extend the existing resource.

For a missing candidate, a bilingual resource supplies an English translation. The authors used Google translator for this step. They then consult the English SentiWordNet entry for the translation. When there is a single entry, the procedure can proceed with it. When there are several entries corresponding to different senses, it selects a suitable sense for the movie review domain. If several senses fit the domain, the algorithm calls for choosing the most common suitable sense. The selected entry supplies the polarity information for the new entry, and the procedure returns the word to Hindi and adds it to HSWN.

The sense choice is part of constructing the dictionary. It fixes which reading supplies a score for a new entry. Once the classifier processes a particular document, the described scoring loop retrieves the value from HSWN. The later use of the entry has no described word sense disambiguation step, in which the system would choose the sense intended in that occurrence. This makes it possible to use a domain-appropriate reading throughout the collection while leaving contextual variation within the domain for future work.

This use of translation is also distinct from translating each review for classification. The documents being scored stay in Hindi. English is used when seeking sentiment information for an entry that is absent from the Hindi resource. The word lookup at scoring time still uses HSWN, now with additional entries. The paper observes that the domain criterion for selecting senses could lead to different resources for different domains. An English sense that fits discussion of a film may be a less appropriate default for reviews of another subject.

The distinction between lookup and acquisition clarifies the role of resources in the final approach. The authors describe HSWN as the sole source of word polarity in classification. Producing the expanded HSWN nonetheless involves English SentiWordNet and a bilingual tool. Both details matter when explaining the system. The classification workflow has one polarity dictionary, and the work of building that dictionary combines information from more than one resource.

Preparing documents for the rules

The paper's document algorithm lists stop-word removal and the application of negation and discourse rules under preprocessing. Stop words are words that a processing system elects to omit from some part of its analysis. The accompanying description also mentions stemming, which reduces word forms to a shared stem. Both are relevant to what the scorer eventually sees. Removing words can change the set of items passed on to the scorer, and stemming can change the form used to seek a dictionary entry.

Rule application also depends on which signs remain available during preprocessing. A negator has a special function even if it contributes no useful sentiment score by itself. A conjunction can tell a rule where to stop marking words or which clause to retain. A delimiter can define the edge of a local span. The rules therefore require access to these cues when their scope and selection decisions are made. The paper presents the principal operations but does not specify the stop list or an exact sequence relating stemming, cue detection, and token lookup.

The unit of lookup is a token, an item produced by tokenization, the division of text into units for processing. A token is an occurrence of a form in a document. That distinction matters for negation. The same form can appear inside a negated span and elsewhere in the review with its ordinary polarity. The rule marks an occurrence, and the scorer uses that mark when it retrieves the value for the occurrence. The dictionary entry remains available with its original sign the next time the word is looked up.

Finding the scope of a negation

A negation marker brings a scope problem. The system needs to identify which words the cue affects before deciding which scores to reverse. According to the authors, a common method reverses the polarity of each word within a fixed window of n words, usually three to five. Here n means the number of word positions in the window. Their rules use sentence structure and boundaries to decide which words to mark. The positions of a negator and a conjunction can matter, and the extent of a span can depend on a delimiter or the end of a sentence.

Consider an evaluative adjective that occurs before a negation marker. A procedure that only searches forward can leave its sentiment unchanged, even though the marker affects what the adjective expresses. The paper includes a simple-sentence case in which words before the negator are marked. The direction in this case follows the position of the material the authors want to reverse. A backward rule can therefore cover a configuration that a forward-only rule would miss.

The paper also describes a case in which a negation marker occurs before a conjunction. It calls for forward negation when the index of the conjunction is greater than the index of the negator. An index here is the position in the sequence of words. More generally, the paper says that forward marking can continue to a delimiter, to a contrastive conjunction, or to the end of the sentence. One sentence in the description of this case puts the negated material after the conjunction, which leaves the exact boundary for that case unclear. The direction rule and the delimiter rule are easier to identify than a fully consistent treatment of every illustrated span.

For a sentence with repeated negation markers in comma-separated portions, the paper describes applying the rule locally, moving forward from a marker until reaching a delimiter. Each cue can thus affect its own portion. The status of words in a later portion can be determined by the cue there. This matters for a review sentence that makes several judgments. The presence of a negator in one portion gives insufficient grounds for reversing evaluative words throughout the rest of the sentence.

The authors describe recording negation by adding an exclamation mark to each affected word. That mark is a flag used by the procedure. When the scorer reaches a token with the flag, it uses the opposite sign of the value retrieved from HSWN. The marking rule applies to words across a span, including words that may add no lexical sentiment evidence. Its direct numerical effect comes from the marked occurrences whose polarity values can be retrieved.

Scope and polarity reversal are separate operations in this design. A scope rule determines which occurrences get flagged. A score rule determines what happens once a flag is present. Suppose an occurrence has a favorable dictionary score and falls inside a marked span. That occurrence then contributes an unfavorable score of the same magnitude. If a negatively scored occurrence falls inside the span, its contribution becomes favorable by the same logic. The procedure assigns these outcomes mechanically from the flag and the lexical score.

Deciding which discourse segment to favor

A discourse segment is a span of text treated as a unit for describing how portions of a passage fit together. The authors describe these segments as nonoverlapping. An evaluative phrase can therefore belong to a segment whose relationship with a neighboring segment affects its importance. A contrast can undercut an earlier judgment, and a concluding expression can introduce the statement that the reviewer presents as the inference to draw from what came before.

The paper treats violated expectations, situations in which a connective signals that what follows runs against an expectation created by neighboring text. Its first class of cues, Conj_After, gives preference to the discourse segment following the conjunction. In the examples for this class, the earlier material is dropped from consideration. The numerical consequence of dropping a segment is that its words are no longer available to the review sum. The rule can therefore favor the later passage even when each word keeps the same lexical polarity it had before the rule was applied.

A schematic review can illustrate the distinction. If a sentence first praises an aspect of a film and then introduces a criticism through a contrast marker, both parts would supply evidence to a plain sum. Under the segment-selection rule, the later criticism supplies the evidence from that contrast. A review with the opposite ordering of favorable and unfavorable content could be affected in the other direction. The rule follows the relation signaled by the conjunction and the position of the segment, so its effect depends on which sentiment the favored segment expresses.

The other class, Conj_Infer, contains inferential or conclusive conjunctions. The authors say that the following segment should receive greater weight because it expresses a conclusion or inference. The rationale differs from a contrast in the relation between the parts. A conclusion can draw on the preceding material without contradicting it. For overall sentiment, the idea is that what the reviewer takes from the preceding material can be more informative than treating all of that material as equally decisive.

The paper states the preference for inferential segments without giving a numerical coefficient or an exact weighting equation. Its main algorithm proceeds from discourse preprocessing to ordinary aggregation. The clearest specified operation for Conj_After is the removal of earlier material in the examples. For Conj_Infer, the stated operation is greater importance for the following segment. That difference establishes what can be described precisely about the implementation and what is left at the level of a linguistic rule.

Negation and discourse rules can use the same conjunction for different purposes. A contrastive cue can end the span affected by a negator, and it can also favor one portion of the text for sentiment scoring. Where negation changes a token’s sign, the discourse decision changes which part of a passage contributes or how strongly it contributes. These operations can therefore affect the same document without doing the same job.

From word scores to a document label

The paper gives its scoring computation as assignments and decisions in the algorithm. The same operations can be written compactly. First comes the assignment for a token that has a dictionary entry.

p(t) = −POL(t) if t is marked as negated, and POL(t) otherwise

Here t denotes the token being processed, and POL(t) is the polarity value retrieved for it from modified HSWN. The function p(t) is the value the occurrence contributes after the negation check. The equals sign indicates assignment of the value shown on the right. The minus sign reverses polarity while preserving magnitude. Parentheses indicate the token to which each value refers. The condition uses the result of the earlier scope rules.

If a token has no entry, the algorithm adds it to a missing-word list. The described branch supplies no polarity for that occurrence. This list belongs to the scoring procedure and records remaining lookup misses. The dictionary expansion is described separately, with steps for obtaining scores and adding entries. The paper does not describe filling a missing score on the fly by translating an unknown token while the review is being scored.

The aggregate is the sum of the token scores.

doc.POL = ∑ₜ p(t)

The notation doc.POL is the aggregate polarity for the current review, with doc denoting the document and the dot indicating its polarity property. The equals sign assigns the total. The sum sign ∑ with subscript t directs the reader to add the values p(t) over the contributing token occurrences. The inputs are the token values available after preprocessing, lookup, and sign reversal. The summation expresses the procedure shown in the document algorithm. The paper supplies no separate numerical term for the inferential conjunction preference.

The last step assigns a categorical label from that total.

label(doc) = positive if doc.POL > zero, negative if doc.POL < zero, and neutral otherwise

The function label(doc) is the result for document doc. The equals sign assigns one of the named categories. The symbol > means greater than, and < means less than. The boundary is zero. The remaining case occurs when positive and negative contributions balance exactly or when the document has no contributing scores, yielding a neutral output. The test collection has agreed positive and negative labels, so a neutral prediction cannot match the reference label of any review in that collection.

The classifier’s verdict is therefore determined by the sum after the earlier decisions have been made. A lookup can add evidence that was previously missing. A scope decision can reverse evidence already available. A discourse decision can remove earlier contributions under a contrast or give greater importance to a conclusion under the stated inferential rule. The full decision procedure combines those changes before it checks which side of zero the score falls on.

Experiments and results

What the authors evaluate

The experiment uses the 662 agreed Hindi movie reviews, with 380 positive labels and 282 negative labels. The rest of the crawled material is outside the reported accuracy evaluation. The paper describes the 662 reviews as the set on which it tests the approach and gives no separate training, development, or held-out test counts. Its dictionary expansion takes candidates from the corpus, and its reported comparison concerns scoring the agreed review collection under different settings.

The main metric is accuracy, expressed as a percentage. Overall accuracy concerns the proportion of evaluated reviews whose predicted label matches the assigned label. The positive and negative columns concern agreement within the reviews assigned each of those classes. The positive result answers how often an agreed positive review is correctly classified. The negative result answers the corresponding question for agreed negative reviews. Since the collection contains more positive than negative reviews, changes in the two classes need not have equal influence on the overall figure.

The settings form a cumulative comparison. The starting point uses the original HSWN and aggregates the polarity available from that resource. The next setting uses the improved dictionary with negation and discourse handling disabled. The following setting adds negation rules while keeping the improved dictionary. The final setting adds discourse rules as well. This ordering lets the reader associate a change in reported accuracy with an addition at a particular point in the sequence.

The paper’s related-work section reports results for other studies, but their systems are not run as comparison entries in this experiment. The useful baseline for interpreting the authors’ own results is the original HSWN lookup and aggregation on the same movie review collection. The additional configurations are variations of the authors’ procedure. All comparisons below are within that experiment.

Overall accuracy across the settings

Overall accuracy on the Hindi movie review collection

Accuracy rises as the authors expand the dictionary and add the linguistic rules.

Overall accuracy on the Hindi movie review collectionOriginal HSWN: 50.45Original HSWN50.45Expanded HSWN: 69.78Expanded HSWN69.78Expanded HSWN with negation: 78.39Expanded HSWN with negation78.39Expanded HSWN with negation and discourse (this paper): 80.21Expanded HSWN with negation anddiscourse (this paper)80.21
The numbers
System or settingaccuracy %
Original HSWN50.45
Expanded HSWN69.78
Expanded HSWN with negation78.39
Expanded HSWN with negation and discourse (this paper)80.21

The baseline reaches 50.45% overall accuracy. The authors link this outcome to lookup coverage. They say that many words in the reviews were missing from HSWN and that some of the misses were inflected forms of available words. In a direct sum of lexical values, a missing contribution can leave the decision to the remaining words. This accounts for why the first intervention concerns the dictionary itself. The paper does not quantify the number of failed lookups, so the coverage explanation is the authors’ interpretation of the baseline and the subsequent comparison.

With the improved HSWN and neither rule type enabled, the paper’s results table gives 69.78% overall accuracy. The accompanying results discussion reports 69.79% for this setting. The chart uses the table value to keep the comparison on a single basis. The discrepancy is present within the paper, and both presentations place the dictionary-only change above the original baseline and below the setting with negation.

Adding negation handling raises overall accuracy to 78.39%. This setting already uses the improved dictionary. The added operation is the marking and polarity reversal of words selected by the negation rules. A review’s label can change when those reversals move the total to a different side of zero. The comparison records the result of giving the negation decisions that role across the collection.

The final setting reaches 80.21% overall accuracy after discourse handling is added. The result applies to the combination of the expanded dictionary, the negation rules, and the discourse rules. The increase from the preceding setting measures the effect of including discourse in that particular combination. The paper does not evaluate a discourse-only setting, so the figure does not identify what accuracy the discourse rules would produce without negation.

Performance on positive and negative reviews

Accuracy on positive Hindi movie reviews with expanded HSWN

The dictionary-only setting has the highest positive-review accuracy, and the rule settings share the same reported rate.

Accuracy on positive Hindi movie reviews with expanded HSWNExpanded HSWN: 85.26Expanded HSWN85.26Expanded HSWN with negation: 82.89Expanded HSWN with negation82.89Expanded HSWN with negation and discourse (this paper): 82.89Expanded HSWN with negation anddiscourse (this paper)82.89
The numbers
System or settingaccuracy %
Expanded HSWN85.26
Expanded HSWN with negation82.89
Expanded HSWN with negation and discourse (this paper)82.89

On the 380 positive reviews, accuracy with the improved dictionary alone is 85.26%. The setting with negation records 82.89% on these reviews. The final setting, with discourse included, also records 82.89%. The authors’ full configuration is marked in the chart even though the dictionary-only setting has the highest positive-review result. Positive reviews thus contribute a different pattern from the overall results. They start at a higher rate for the expanded dictionary and then show a lower rate when rules are added.

Equal class-level rates in the last two settings leave room for changes in individual decisions. For example, a rule could make some previously wrong predictions correct while making an equal number of previously correct predictions wrong. The paper gives the aggregate rates, so the equality supports a statement about the reported percentage on positive reviews. It leaves open whether the same documents were classified correctly.

Accuracy on negative Hindi movie reviews with expanded HSWN

Negative-review accuracy rises with negation handling and rises again when discourse rules are added.

Accuracy on negative Hindi movie reviews with expanded HSWNExpanded HSWN: 48.93Expanded HSWN48.93Expanded HSWN with negation: 72.34Expanded HSWN with negation72.34Expanded HSWN with negation and discourse (this paper): 76.59Expanded HSWN with negation anddiscourse (this paper)76.59
The numbers
System or settingaccuracy %
Expanded HSWN48.93
Expanded HSWN with negation72.34
Expanded HSWN with negation and discourse (this paper)76.59

On the 282 negative reviews, the improved dictionary alone gives 48.93% accuracy. Accuracy on these reviews rises to 72.34% with negation and to 76.59% when discourse is added. The authors describe the effect of negation as particularly favorable for negative reviews. Their class results support that reading. The setting that adds negation records a substantial rise on the negative subset alongside a decline on the positive subset.

The class charts start with the expanded dictionary because all its settings have clearly reported values for both classes. For the original HSWN, the table gives a baseline overall accuracy and shows a class figure of 51.06 whose column placement is unclear. The prose confirms 50.45% overall accuracy for the original resource. Leaving that first setting out of the class charts keeps the comparison tied to figures with unambiguous class assignments.

The final class results also clarify what the overall headline represents. The combined procedure is more accurate on positive reviews, at 82.89%, than on negative reviews, at 76.59%. At the same time, the added rules help close the much wider separation visible with the expanded lexicon alone. The findings are percentages for these agreed subsets. The paper gives no breakdown of where the incorrect predictions went, so the class results cannot establish how often a missed positive or negative label came from a neutral prediction.

How the comparison relates to earlier studies

The authors report 78.14 % for the Hindi fallback strategy discussed in their related work and roughly 79% for review classification using the graph-based subjectivity lexicon. The graph-based study also has a reported 70.4% agreement with human annotation, which the paper presents separately from classification accuracy. Those numbers describe the results the authors attribute to the earlier studies. The present test does not place those approaches and the proposed classifier on a shared review set with a common evaluation protocol.

In the related work on discourse markers, the authors cite an improvement of 2 - 4% in sentiment classification accuracy when markers are incorporated into a bag-of-words approach. That finding is part of the motivation for using connective information here. The comparison associated with the Hindi review results is the change from the negation setting to the setting that includes discourse, with the expanded dictionary in use throughout. Its meaning comes from those shared conditions and the distinct outcomes for positive and negative reviews.

What the ablations show

Expanding the dictionary changes what the classifier can count

The first comparison uses the original and improved versions of HSWN. It is the closest the paper comes to a direct test of the lexical intervention. Starting from 50.45% overall accuracy for the original dictionary, the expanded setting reaches the higher result reported for it. Neither of the rule types is enabled in that expanded setting. The increase therefore occurs before rules for negation scope or discourse importance enter the decision.

This comparison supports the authors’ view that dictionary coverage is important for their review collection. Their basic scorer depends on finding a word in HSWN, so the expansion gives previously unrepresented expressions a chance to affect the total. The comparison addresses the expanded dictionary as a package. Its result includes the effects of adding missing adjectives and adverbs and adding inflected forms, as well as the score choices involved in making new entries. There is no separate measurement for each kind of addition.

The improved dictionary’s class results show why increased coverage still leaves room for contextual rules. The positive subset reaches 85.26% accuracy, while the negative subset reaches 48.93%. An enriched lexicon can identify the favorable meaning associated with an adjective even in a sentence that negates it. The dictionary fills in a word value. The sentence rules decide when that value should be reversed in use. The observed class imbalance is consistent with needing such a distinction, although the paper does not trace individual dictionary-only errors to particular unhandled cues.

Negation has different effects across the classes

Adding negation while retaining the expanded HSWN improves overall accuracy and accuracy on negative reviews. It also lowers the score on positive reviews from 85.26% to 82.89%. The strongest direct evidence for negation in the experiment is thus the changed classification behavior on the negative subset. Reporting both class results reveals the tradeoff that would be hidden by the overall rate alone.

The comparison can establish the effect of enabling the authors’ negation rules in this setting. It leaves several aspects of their operation unresolved. There are no separate runs for backward and forward scope, no result for disabling the delimiter rule, and no comparison against the fixed window described in the method section. Hence the results give no empirical ranking of those scope choices. In particular, the paper’s discussion of a fixed window explains what the proposed rules are intended to improve, while the measured baseline takes the form of a classifier with negation handling disabled.

A review-level label also gives limited information about the accuracy of the underlying scope decision. A correct negative classification can occur even if an individual negator is mishandled because the rest of the review still contributes a negative total. Conversely, a single scope decision can affect the label if its contribution is sufficient to cross zero. The experiment measures the effect of enabling the rules on final decisions, and it supplies no separate annotation or accuracy figure for negated spans.

Discourse supplies an additional conditional gain

The final comparison introduces discourse into the setting that already contains the improved dictionary and negation. The negative-review rate rises from 72.34% to 76.59%, and the measured positive-review rate remains 82.89%. This is evidence that the discourse intervention improves results in the presence of the other components on this collection. The comparison leaves the effect of discourse without negation unmeasured.

The paper gives a linguistic reason to expect an effect. A plain sum can allow praise from an earlier segment and criticism from the more consequential segment to compete at face value. The contrast rule changes the evidence available to the sum, and the inference rule proposes a stronger role for the conclusion. The experiment shows the outcome of applying the discourse rules together. Separate effects for contrastive and inferential cues remain unknown because those categories are not evaluated in separate settings.

The results also provide no account of how often a discourse rule fires or how many documents contain each connective type. The improvement on negative reviews therefore has several possible sources within the procedure. The authors describe rules that could change a score by removing a segment or favoring a conclusion, but the reported percentages do not identify which mechanism accounts for the improvement on which reviews. Their examples explain how the rules are supposed to operate. The aggregate comparison checks the usefulness of including the rules as a group.

The cumulative design is best read as a sequence of component additions. It gives evidence for improving the lexical resource before contextual rules, for adding negation on top of that resource, and for adding discourse to the resulting classifier. It leaves component interactions open. For instance, a negation rule depends on the availability of scores to reverse, and a discourse rule can change the material to which those scores contribute. The gain from one component in the reported sequence belongs to the setting in which it was added.

Limitations

Limits the authors identify

The authors say that the review dataset could be extended to obtain more general results. The evaluation uses Hindi movie reviews from review websites, and the dictionary enrichment is tailored to the language encountered there. This makes the resource responsive to the kind of writing under study. It also means that transferring the procedure to another sort of review could expose different missing words, different common senses, and a different distribution of the constructions handled by the rules. The paper leaves those settings for further evaluation.

The authors also say that the dictionary can be developed further. Existing coverage leaves out terms important to the reviews, and inflection creates additional opportunities for lookup failure. The paper addresses these problems by adding entries, including variants of roots already represented. In their conclusion, the authors point to work on morphological variants as a possible improvement. The improvement made here establishes the relevance of coverage on the evaluated collection, while coverage of the expanded resource itself is not quantified.

Sense is another stated limitation. The authors propose adding word sense disambiguation and mention words whose polarity can vary. At lexicon construction time, the procedure picks a suitable, common reading among the available senses. That decision gives a usable value for later lookups, but its suitability depends on how future occurrences are used. A movie reviewer can use a word in an uncommon sense even if the most common domain sense typically provides a good score. Scoring each occurrence according to its intended reading would require the additional step proposed in the conclusion.

The discussion of translation also identifies a cost of lexical expansion. English equivalents may be unavailable for some Hindi words, and the choice among translations or senses can lose context and require manual effort. The authors try to reduce the problem through domain selection. Their own discussion suggests that the choice of a common sense may need to be made afresh for a different application, potentially leading to differently adapted resources.

Finally, the authors explicitly qualify a negation rule by noting that sarcasm and special sentence forms can make it invalid. Their procedure is based on identifiable markers and positions. A sentence can break the association between those cues and the intended judgment. This qualification applies directly to the design of sign reversal. Correctly detecting a negative expression at the surface does not on its own establish what opinion the writer meant to convey.

Limits visible in the evaluation

The dataset is selected for opinion and agreement. Removing reviews considered objective makes the test more focused on positive and negative judgments. Retaining the 662 reviews on which agreement was established further defines the population under evaluation. The measured accuracy therefore concerns reviews that satisfy both conditions. Performance on the objective documents, on reviews where agreement was absent, and on a stream of reviews before either screen remains unmeasured.

There is a related distinction between an available output and a tested class. The algorithm can produce a neutral label, but the agreed evaluation labels reported by the authors are positive and negative. The accuracy result tests how often the system reaches the assigned polarity for those reviews. Handling documents that should properly receive a neutral label would call for reference examples with that label. The paper provides no neutral-class accuracy and no separate count of neutral predictions on its positive and negative examples.

The description of the annotation process gives the accepted class counts and the Fleiss kappa result. Details such as the number of raters, the full labeling guidelines, and the treatment of particular kinds of disagreement are unspecified. This leaves questions about how to reproduce the decision to keep a review and how to apply the same labeling standard in another collection. The agreement coefficient describes the reliability reported for the labeling procedure. It is a different measurement from accuracy, which compares the system’s output with the agreed labels.

The learning and testing boundary for the lexical resource also deserves attention. The dictionary improvement uses words found in the corpus, and the paper evaluates the classifier on the review dataset it assembled. It does not describe constructing the lexicon on one collection and evaluating on a separately collected set of reviews. That leaves the transfer of the reported gain to unseen review vocabulary undetermined. The concern is about exposure to words while creating the resource. The documented expansion procedure selects candidates by lexical coverage and senses by domain, and the paper gives no indication that individual positive and negative review labels were used to assign the added word scores.

The paper reports accuracy as percentages and gives no estimates of uncertainty or statistical test for changes between settings. Its discussion describes improvements, and the observed rates establish their direction on the evaluated reviews. Inference about a wider population of Hindi reviews would require information the experiment does not provide. Reviews form the units on which the rates are reported, and the absence of document-level prediction outcomes also prevents checking how many particular decisions changed between settings while preserving the same class accuracy.

Limits visible in the procedure

The procedure gives enough detail to understand the path from a lexicon to a document decision. Some choices remain underspecified for a reimplementation. The paper indicates that adjectives and adverbs are extracted, while the precise extraction procedure is not given. It mentions stop-word removal and stemming, but it gives no complete account of the rules and resources used for those operations. Because negation and discourse analysis depend on visible cues, the exact treatment of cue words and punctuation can affect which spans the rules select.

The negation method likewise leaves open how competing boundaries are resolved in every case. The prose gives sentence endings, delimiters, and contrastive conjunctions as stopping cues, and it describes both directions of application. Its description of a cue before a conjunction is ambiguous about which side supplies the negated material. A reader can reconstruct the general ideas of forward scope, backward scope, and local handling within comma-separated portions. Reconstructing identical marked spans throughout a corpus would require a more explicit rule order and boundary specification.

The discourse treatment is clearer for the examples where earlier material is dropped. For inferential conjunctions, the paper says that the conclusion should receive more weight, yet supplies neither a value nor an operation in the scoring algorithm that would assign that weight. This limits what can be inferred from the last accuracy increase. The result pertains to the reported combined implementation, while the contribution made specifically by following-segment weighting cannot be recovered from the method and results as described.

At the level of a whole review, scoring is additive and the final threshold is zero. That design exposes the effect intended for each token and makes the document label easy to derive once the contributions are known. It also compresses several potentially different judgments into a single direction. Strong opinions of opposite signs can cancel, and the algorithm’s neutral outcome can reflect a balance of large contributions or a lack of usable evidence. The paper measures the usefulness of that signed total for a positive or negative review decision. It leaves the interpretation of the total as a measure of sentiment intensity untested.

The limited analysis of errors makes it difficult to locate the next source of improvement from the accuracy results alone. Missing entries, unsuitable sense assignments, incorrect negation spans, and mistaken discourse preferences can all change a final label. The series of settings shows the effects of enabling broad components, while the paper gives no per-error breakdown that would assign failures to those causes. Its future directions consequently address several parts of the pipeline, from extending the review collection and the dictionary to handling variation in word meaning and form.

What came after

Al-Harbi’s 2021 work cites the Hindi review study and examines negation handling in machine-learning-based sentiment classification for colloquial Arabic. The title identifies a later investigation of the same general problem in a different language and classification setting. The Hindi study applies explicit scope rules and sign changes in a lexicon-based review classifier. The later work places negation handling within machine-learning-based classification of colloquial Arabic. Negation Handling in Machine Learning-Based Sentiment Classification for Colloquial Arabic

The connection concerns how sentiment classification accounts for a negation cue and the words it affects. In the Hindi study, the comparison with and without negation makes that issue an experimental question. It shows that the treatment of negation can change positive and negative accuracy in different directions on the same collection. Al-Harbi’s title establishes that the later paper also makes negation handling a subject of study. The citation and title alone leave its precise use of the Hindi work unspecified, including whether it adopts any of the scope rules, tests comparable boundaries, or implements polarity reversal in a different way.

The relationship is therefore visible at the level of the research question. Mittal and colleagues investigate where to find sentiment evidence in Hindi text and how a negation marker changes what that evidence contributes to a review verdict. Al-Harbi studies negation handling for a classifier in colloquial Arabic. The citation connects these investigations across languages and classification approaches. The available account gives no basis for attributing the Hindi dictionary expansion or discourse rules to the later study, or for comparing the accuracy of the two systems.

Cite

Cite as Namita Mittal, Basant Agarwal, Garvit Chouhan, Nitin Bania and Prateek Pareek. 2013. Sentiment Analysis of Hindi Reviews based on Negation and Discourse Relation. Proceedings of the 11th Workshop on Asian Language Resources.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{mittal2013sentiment,
  title = {{Sentiment Analysis of Hindi Reviews based on Negation and Discourse Relation}},
  author = {Namita Mittal, Basant Agarwal, Garvit Chouhan, Nitin Bania and Prateek Pareek},
  booktitle = {Proceedings of the 11th Workshop on Asian Language Resources},
  year = {2013},
  url = {https://aclanthology.org/W13-4306/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/mittal-2013-sentiment-analysis-hindi-reviews-based/