SentiPers: A Sentiment Analysis Corpus for Persian
Paper · 2018 · Pedram Hosseini, Ali Ahmadian Ramaki, Hassan Maleki et al.
Summary
A customer can praise a phone’s battery, complain about its screen, and still decide they dislike the phone overall. A label for the whole review captures that verdict, but a reader comparing batteries would need to know which part of the review concerns the battery and what the customer said about it. SentiPers gives researchers both kinds of information for Persian electronics reviews. The corpus addresses a gap the authors saw in Persian resources for sentiment analysis.
The authors collect material from Digikala, where technical reviews by experts sit alongside comments from customers. The combination gives the corpus both formal prose and writing that resembles everyday speech. SentiPers contains more than 26,000 manually annotated sentences. Annotators assign sentiment scores to sentences and whole pieces of review text, using a scale that distinguishes milder judgments from emphatic ones. They also identify what is being evaluated and which words express the evaluation. An additional keyword tag can preserve cues such as negation or emphasis, which help explain why the full sentence has a different effect from an adjective read on its own.
The paper reports on corpus construction and the consistency of human judgments. It treats agreement about sentence polarity separately from agreement about which words to mark. The polarity check groups the finer scores into positive, neutral, and negative categories. The check for tagged words asks how many of the expressions marked by an annotator have a match in another annotator’s work. Examples show why both checks matter. A comparison can convey criticism of a feature indirectly, and a phrase describing something as recent may refer either to a camera or to the technology inside it.
SentiPers is made available for research and noncommercial use. Its contribution is a collection in which readers can study overall sentiment, local evaluations, and the language that connects them. The authors leave automatic classification and expansion into other domains for future work.
Deep dive: SentiPers: A Sentiment Analysis Corpus for Persian
SentiPers records what Persian electronics reviews praise or criticize, how strongly they express it, and which product features they discuss. · about 31 minutes to read
The problem and its context
What an overall verdict leaves unresolved
Electronics reviews describe products that can perform well in some respects and badly in others. A camera’s still images and video may elicit different reactions. A customer who dislikes a phone may nevertheless acknowledge that its battery works well. These judgments are useful when they can be recovered at the level at which a reader makes a decision. The value of a battery comment, for instance, depends on recognizing that its target is the battery. The review’s overall verdict provides a different piece of information about the same purchase.
The paper distinguishes the levels at which an evaluation can be recorded. At document level, the unit is a whole piece of review text. At sentence level, it is a sentence within that text. At entity or aspect level, the target can be the product itself or a feature of it, such as the display. An aspect label can preserve a judgment embedded in a larger statement that also discusses other things. The levels therefore answer different questions about the same material. A task framed as text classification can ask for the sentiment of a sentence or document, whereas an aspect task also has to locate the object of the judgment.
The authors describe opinion data as valuable in its own right. Shoppers can use other people’s experiences to compare products, and organizations can learn about their products and services from customer feedback. For research, the text also needs a record of how people interpret it. An unmarked review offers examples of the language customers use, while a version with human labels makes it possible to examine decisions systematically. A researcher can inspect where readers found an evaluation, which words they took to express it, or what sentiment they assigned to the passage as a whole. SentiPers is built around this use of linguistic annotation.
The gap the authors identify concerns the depth of annotation as well as its availability. Much of the earlier work they survey concerns English. Even among those resources, the paper describes many that assign sentiment to documents or sentences, and fewer that mark the objects of evaluations inside the text. For Persian, the authors could point to several collections of online reviews, but they describe the available work as concentrated at document or sentence level. SentiPers brings product and feature judgments into the same annotation scheme as those larger units.
The Persian collections the authors could build on
Earlier Persian studies had already shown how online reviews could supply material for sentiment research. The paper describes a study that gathered reviews of cell phones, digital cameras, and hotels from Persian shopping sites. The researchers manually assigned polarity and chose 200 positive and 200 negative reviews per domain for their evaluation. Those counts describe the reviews selected for the evaluation, so the balance is a property of that selection. The purpose of the collection was to test a sentiment classification method.
Another collection consisted of 511 positive and 509 negative customer reviews of cell phones. The paper says that two annotators labeled those reviews by hand. It also describes BS Data, a collection of 263 positive and negative reviews from mobile.ir. These are precedents for using Persian consumers’ writing in sentiment studies. In the SentiPers paper’s account, their labels describe the direction of a review. The distinction SentiPers introduces is the ability to examine the text underneath such a judgment, including which feature a favorable or unfavorable expression describes.
Hotel reviews offered another source of Persian opinion writing. The collection discussed by the authors contained 1,805 negative and 4,630 positive reviews, with information including the writer and the date. The hotel example shows that the earlier landscape already extended beyond consumer devices. It also helps distinguish coverage of subject matter from detail of annotation. A collection can extend Persian sentiment research into a different domain by supplying hotel opinions. A collection can deepen the study of reviews by marking where evaluations occur and what they refer to. SentiPers concentrates on the latter within electronics.
The designs the paper draws on
The authors place SentiPers alongside resources that represent opinion inside a document. In the English product-review corpus by Hu and Liu, the material came from online reviews of consumer electronics. The authors of SentiPers describe it as containing 113 documents, 4,555 sentences, and 81,855 tokens. The corpus included marked targets and recorded contextual sentiment for sentences. Its relevance to SentiPers lies in the combination of similar source material and a scheme that can distinguish a review’s topics from the evaluations attached to them.
MPQA illustrates a broader approach to what can be marked. As described in the paper, it contains 10,657 sentences in 535 documents, drawn mainly from news. Its labels cover opinions and other subjective material, including beliefs, emotions, and speculation. A later version discussed by the authors adds annotations for attitudes and their targets. MPQA matters to the construction of SentiPers in a specific methodological sense too. Its treatment of expressions marked in text supplies the precedent for comparing the words and phrases chosen by different annotators.
Other English collections illustrate how a resource can be shaped by its intended task. The Cornell movie-review resources include polarity, sentiment scale, and subjectivity data. The JDPA corpus includes material such as automobile blog posts and provides statistics on agreement as well as examples of annotated phenomena. The paper also discusses a collection built from Twitter posts and a resource based on Amazon product reviews. In the latter, a threshold on a 1-to-5 rating supplies a way to define the direction of an overall review. SentiPers instead has annotators judge the language at the sentence and review levels, within a scheme that also records some of the expressions informing those judgments.
The survey includes work in Arabic, Chinese, and German as well as multilingual efforts. The Arabic Opinion Corpus uses movie reviews assigned to positive and negative classes. AWATIF marks subjectivity and sentiment in Modern Standard Arabic sentences across genres. ChnSenti-Corp contains 1,021 documents across education, movies, and housing, with positive and negative examples in each domain. These examples broaden the language and domain coverage of the earlier work reviewed by the paper. They also show that genre, unit of annotation, and type of label are distinct choices in building a resource.
The German MLSA corpus is relevant to both annotation depth and reliability. It is based on manual annotation of 270 sentences and distinguishes document, sentence, phrase, and expression levels. Its authors assess reliability through average pairwise agreement and Fleiss’ kappa. The USAGE corpus, which covers German and English product reviews, marks aspects together with subjective phrases. In the SentiPers account, such resources establish precedents for fine-grained work. The question for the authors was how to provide a comparable range of information for contemporary Persian, including the colloquial forms found in reviews written by ordinary customers.
Why register belongs in the design
The contrast between an expert review and a customer comment matters even when both discuss the same device. The formal review may describe technical properties in carefully organized sentences. A customer may use a conversational order or write words in a fused form. If a corpus draws exclusively on the first kind of writing, it leaves out forms a reader is likely to encounter in the comments. If it draws exclusively on the second, it leaves out the style of a technical evaluation. Digikala supplies both in separate areas of its product pages.
The authors’ interest is in written Persian across those registers. The informal examples are written by site users, although some of their forms are associated with speech. The distinction helps explain why identifying a target or opinion can require more than looking up individual words. A colloquial sentence may organize the same content differently or present grammatical material in a different written form. The paper’s descriptions of these differences connect the choice of source to the practical work of marking text.
The source and the annotation scheme address related parts of the problem. The source determines whose language and which topics appear in the resource. The scheme determines which aspects of that language can later be studied. An expert review and a user comment can both express approval of image quality. Keeping their source categories makes the circumstances of the expression visible, and marking the opinion and target preserves the common judgment in spite of differences in wording.
The method, step by step
From a product page to a set of opinions
The authors chose Digikala because it offered a substantial body of reviews about the electronics they wanted to study. They also valued the site’s division between technical assessments and contributions by customers. A product page could supply a formal evaluation of a device and more conversational observations from people who had used it. The page structure gave the authors a way to retain the origin of each piece of text after collecting it.
The authors crawled the website and converted the product pages from HTML into XML files. HTML organizes the source page for presentation on the website. The XML files organize the extracted material as fields associated with a product. The paper describes software with an editor that uses XPath to locate the HTML elements containing relevant information. Once those elements have been identified, their contents can be placed in the corresponding part of the product file. This stage establishes which text the annotators will see and how that text will be organized.
Within the XML, the authors keep three named components, Review, Critical_Reviews, and General_Reviews. Review houses the expert material, while the other components hold distinct kinds of user contribution. Preserving the categories allows an annotation to be traced back to its kind of source. The categories also preserve a distinction between the organization of the website and the language of an individual contribution. The authors characterize expert prose as formal and user prose as usually informal. The section name records provenance even when a particular contribution sits somewhere between those descriptions.
How SentiPers turns product reviews into annotated data
The steps in order.
Product files, documents, and sentences
A product file serves as a container for information about a particular item. An opinion or document inside the corpus consists of one or more sentences. That distinction is important when reading the paper’s counts or interpreting a document score. A product can attract several contributions, and different people can express different opinions about it. A document score describes a piece of review text. The product file provides the common subject and retains the different contributions around it.
The authors divide the text in each review component into sentences. Each sentence receives an identifier that records its place in the opinion and identifies the component from which it came. Position is useful when a sentence answers or qualifies an earlier statement. An evaluator may describe a problem and then say that they still like the device. Sentence identifiers keep those statements in order while letting each sentence carry its own markings and rating.
The distinction also preserves a way to inspect judgments at different scales. If a passage receives an unfavorable document score, a reader can examine its individual sentences to see where criticism occurs and where the writer grants a favorable point. An annotation attached to a feature can be inspected within its sentence and in the surrounding passage. This structure provides the location of each judgment without requiring the larger score to be derived mechanically from the smaller ones. The paper describes human assignment of both sentence and document polarity.
What the formal and informal examples explain
The paper illustrates formal Persian with product descriptions that carefully connect a device with its technical qualities. It then uses a simple sentence about seeing Ali to explain some variation found in less formal writing. In the formal example the subject appears before the object and verb. A conversational rendering puts the verb first. Another attaches a reduced form of the object marker to the name. The action and its participants remain recognizable while the sequence of forms and the written word boundaries change.
The Ali example concerns grammar, but it explains a problem that can carry over to sentiment annotation. Target and opinion expressions have to be found in the forms the writer actually used. A reader cannot rely on a fixed order that always positions the entity in the same place relative to its description. Word boundaries can also vary when speech-like forms are written down. The paper uses these differences to motivate its inclusion of customer comments and later observes that informal writing can make the referent of an evaluation harder to determine.
The user reviews themselves supply examples of what that writing looks like in context. One writer praises a device and the pictures it produces. Another expresses enthusiasm for a camera and urges readers to buy it. Technical assessments can also speak very favorably about a device’s design or image quality. The source categories are useful precisely because similar judgments can occur in different styles. Register is part of the setting in which the opinion was expressed, instead of a substitute for reading the judgment.
How the annotators learned the task
Four native speakers of Persian contributed annotations. The authors describe them as familiar with Persian grammar and as having some background in sentiment analysis. Training consisted of studying the annotation guidelines and examining annotated sample documents. The samples connect the definitions in the guidelines to decisions about real text. An annotator needs to see how to treat an adjective connected directly to a product as well as what to do when the sign or force of an evaluation depends on surrounding words.
An experienced annotator reviewed all the annotated documents. That review belongs to the preparation of the corpus. The agreement study serves a separate purpose by examining how closely annotations coincide when the same kind of decision is made by different readers. Experienced review can improve consistency in the released data, while an agreement measure describes the similarity of judgments in the material used for that calculation. The paper gives both procedures a role.
The work therefore involves training people in a shared interpretation scheme. Each decision begins with the text of an opinion. Annotators decide whether and where particular linguistic material expresses a sentiment, which entity or feature the evaluation concerns, and what overall label the sentence or document warrants. Some of those decisions have readily visible cues. Others demand an interpretation of how statements fit together, as the examples of comparisons and mixed views show.
Targets and the expressions that evaluate them
A target is the thing the opinion concerns. It can be a whole product or a component, property, or capability of that product. An opinion expression is the wording that gives an evaluation of that target. In the paper’s brief example about a phone, the noun naming the device identifies the target, and the approving adjective expresses the opinion. The distinction is easy to see there because both elements are explicit and the adjective has a clear evaluative role.
The same distinction becomes more informative in reviews that mention multiple features. An adjective praising the battery and an expression criticizing the display give different information even though both occur in text about the same phone. A researcher interested in screen size needs access to the latter judgment where it is made. The sentence rating can tell that researcher something about the passage as a whole, while the target and expression markings identify the local piece of evidence.
A target can be described by more than one expression. A review can return to a device after discussing its components, or it can offer several reasons for judging a particular feature. The annotation defines the target by the relationship between the thing mentioned and the evaluative wording. A noun that happens to occur near an adjective may be a candidate for the target, but the reader still has to decide what the adjective describes. The paper’s example of a camera and its technology shows that proximity can leave the relationship unresolved.
This part of the scheme also sets a practical boundary on the kinds of judgments that are easy to represent. An explicit phrase that describes one target can be marked where it occurs. An evaluation conveyed indirectly through a comparison can be understood even when no separate expression is attached directly to the second target. The paper treats this as a challenge for selecting target–opinion pairs. The presence of these cases is one reason the annotators also make decisions at the level of the complete sentence.
Keywords and the way sentiment is composed
The keyword tag preserves cues that can be hard to represent as a simple target and opinion pair. The authors explain it with a negative judgment about a phone that contains a favorable adjective. Reading the adjective alone gives a positive cue. The neighboring negated verb gives the statement a negative interpretation. An annotator could group the whole description into an opinion expression, but the keyword scheme can mark the adjective and the negated part separately. That keeps the components available for studying how their combination conveys the complete judgment.
This choice gives the annotation two kinds of information about the same sentence. The sentiment score records its overall orientation. The keyword tags show why that orientation can differ from the sentiment ordinarily associated with a word inside it. The tags therefore preserve a distinction between the contribution of individual expressions and the direction of the statement that contains them. A later study of sentiment composition can inspect the cues in context and relate them to the human-assigned score.
Keywords can also mark emphasis. In a variant of the negative phone example, an expression equivalent to at all strengthens the criticism. Its contribution depends on the phrase it accompanies. The same case helps distinguish the sign of a judgment from its intensity. Negation gives the description a negative direction, while emphasis can make that negative evaluation stronger. Where the emphasis is explicit in a separable expression, the keyword tag lets a researcher find it.
Some words can do double duty. A strongly favorable adjective directly evaluates the product and may itself convey a high degree of approval. The authors allow opinion words to receive keyword tags as well, in part because they see possible use for the marked material in building a sentiment lexicon. Such a lexicon would collect expressions associated with sentiment for later research. In SentiPers, the overlap follows from the roles of the tags. A word can belong to an evaluation in context and also be worth retaining as a cue.
Assigning an overall direction and degree
Every sentence and document receives a polarity value from the set −2, −1, 0, +1, and +2, where the negative labels use the paper’s values -2 and -1. Polarity is the direction of an evaluation. The scale adds a distinction in degree within both directions. The value -2 is the strongest negative category and -1 is the less strongly negative category. The positive side works in the opposite direction, with +1 for a milder favorable judgment and +2 for the strongest favorable category. The central value 0 denotes neutral sentiment at the unit being scored.
The examples illustrate how a reader moves from wording to a category. Forceful disappointment with a recently purchased phone is an example of -2. A passage that approves of the battery but criticizes screen size and expresses dislike for the phone is an example of -1. The writer’s final assessment and the distribution of favorable and unfavorable observations both matter to the reading of that passage. The annotations preserve the final category while leaving the separate feature judgments available for examination.
The examples for 0 fall into different kinds. One passage describes when a printer was purchased and gives factual details about it. Another approves of a camera’s still images while finding its video quality less satisfactory. Both are offered as neutral cases on the overall scale. In the second case, neutrality describes the judgment at the level being rated, while the constituent evaluations remain favorable and unfavorable. This is one reason the paper’s aspect layer can add information even to a sentence whose overall label is in the middle of the scale.
On the positive side, the authors give examples of moderate satisfaction with a phone and of stronger enthusiasm. A customer can find the phone’s energy consumption satisfactory and express general approval. Another customer can be emphatic about the phone and praise its image quality strongly. The scale makes room for the difference. According to the paper, future studies could use the ratings to examine how sentiment orientation relates to the number of opinion words. That relationship is a proposed subject for study. The ratings themselves come from human judgments of the text.
The examples also distinguish ordinal information from a quantitative measurement of feeling. The categories put stronger approval above milder approval and stronger criticism below milder criticism. The paper gives them numerical names to preserve order and direction. It provides no calibration showing that a step from +1 to +2 represents an equal-sized change in feeling to a step elsewhere in the scale. The authors’ agreement study asks a coarser categorical question about sign.
Measuring agreement on a label and agreement on a span
For sentence polarity, the authors use Fleiss’ kappa. They group judgments into positive, neutral, and negative categories. Kappa compares how frequently annotators assign the same category with how often agreement would be expected from the categories’ overall use. Here the categories are nominal for the calculation. An exact match of category matters, and the analysis uses no graded distance between adjacent or opposing sentiment labels. As a result, the polarity check tests the broad classification of sentences. It leaves agreement about the finer intensity distinctions open.
Identifying wording in a sentence creates a different kind of comparison. An anchor is a particular marked stretch of text. Annotators can select different numbers of anchors and place them on different words. The authors compare the sets of anchors chosen by two annotators using a method drawn from earlier work on marking opinion expressions. They express the calculation as follows.
agr(a ∥ b) = |A matching B| / |A|
Here agr is the agreement measure for the ordered comparison indicated by a ∥ b. The lower-case a and b identify the two annotators. The upper-case A is the set of anchors marked by a, and B is the set marked by b. The expression A matching B denotes the anchors in A for which a matching anchor occurs in B. The vertical bars indicate a count, the slash divides the count of matches by the count of anchors in A, and the equals sign defines the measure.
The order in the formula matters because the denominator comes from the first annotator’s set. If an annotator marks the expressions selected by a colleague and also marks additional material, the comparison can give different results depending on whose selections are used as the denominator. Looking from the smaller set asks whether its selections have counterparts in the larger set. Looking from the larger set additionally asks whether the extra selections have counterparts in the smaller one. This property follows from the formula and helps explain what can be learned from it.
The numerator also depends on what counts as a match. Readers might identify the same evaluative portion of a sentence but put its boundaries in different places. The formula specifies how to turn matches into a proportion. Its interpretation depends on the matching rule used for those boundaries. The paper points to an earlier method for text anchors without spelling out the boundary rule in its own account. The comparison is described specifically for targets and opinion expressions. Keywords form a separate layer of the corpus.
Experiments and results
What the study measures
The dataset is the principal result. SentiPers contains more than 26,000 manually annotated sentences from Digikala electronics reviews. The count refers to the corpus as a whole. The product coverage includes cell phones, digital cameras, camcorders, and tablets, which the authors identify as the most frequent product types among the annotated files. This is a description of the collection’s composition. The product types share a retail setting but give reviewers different capabilities and features to discuss.
The authors organize descriptive statistics around several units. General corpus statistics describe properties such as the amount of text. The polarity statistics concern the number of sentences and opinion words associated with different sentiment values. The product statistics count the annotated files by product type. The agreement study examines how closely annotators coincide on selected tasks. These quantities answer different questions. A count of sentences describes the amount of material, a polarity distribution describes how labels occur, and a product count describes the composition of the files from which the text comes.
The paper reports a corpus study with descriptive counts and human agreement. It leaves classifier training and accuracy evaluation to future work. As a consequence, there is no training or test split for an automatic prediction experiment to interpret, and no system baseline against which to measure a gain. The comparison built into Fleiss’ kappa is between observed human agreement and expected agreement from the use of the categories. For tags, the comparison is between the anchors selected by different readers. Neither comparison gives a prediction score for automatic sentiment analysis.
How the assigned ratings compare
The examples below show how the authors use the scale. Each row is an illustrative review passage with the polarity assigned in the paper. The chart compares the ratings themselves. Higher values indicate more positive sentiment, so the marked example sits at the favorable endpoint. A negative rating can be equally appropriate for the wording it describes.
Assigned polarity in illustrative SentiPers review passages
The strongest approval goes to emphatic praise of a phone and its image quality.
The numbers
| System or setting | Assigned polarity |
|---|---|
| Strong disappointment with a purchased phone | -2 |
| Approval of the battery alongside dislike of the phone | -1 |
| Approval of still images alongside criticism of video | 0 |
| Satisfaction with a phone and its energy consumption | +1 |
| Emphatic praise of a phone and its images (this paper) | +2 |
The contrast between the battery and camera examples makes the middle of the scale easier to interpret. The phone passage combines a favorable observation with criticism of the display and a direct expression of dislike. The camera passage also combines opposing judgments, but the authors give it a neutral reading overall. A count of favorable and unfavorable expressions would lose the distinction between explicitly disliking the product and judging two of its capabilities differently. The examples are illustrations of assigned categories, so they show how the authors reason about particular passages rather than how frequent such passages are.
At the endpoints, the illustrative wording is emphatic. The disappointed phone buyer describes a strong reaction to the purchase. The favorable example praises both the device and the pictures it produces in strong terms. Between the endpoints and the middle, the paper includes less emphatic judgments, such as a customer who expresses satisfaction with the phone in general. These examples give concrete meaning to the scale through the way people describe their experiences.
What the agreement analysis can establish
For polarity, the item is a sentence and the outcome is agreement on its broad category. Because the calculation groups the ratings into positive, neutral, and negative, readers who agree on approval but differ about its strength count as agreeing for that analysis. This is an appropriate level of description for a question about the direction assigned to a sentence. A numerical result on this measure would apply to those broad categories. Agreement on the full sentiment scale would require a calculation that retains its distinctions.
For target and opinion tags, the outcome concerns agreement about the location of textual evidence. Annotators can agree that a sentence is critical while marking different parts of it as the source of the criticism. They can also identify similar evaluative wording while disagreeing about which feature it describes. The directional anchor measure examines the marked expressions with respect to an annotator’s selections. It answers a different question from the category comparison and has a different denominator. Its value would need to be read in light of those choices.
The paper identifies an agreement results table and names the procedures behind it. The corpus size and illustrative ratings can be stated numerically, while the agreement coefficients are unavailable for a numerical comparison. The distinction matters because agreement values would be needed to say how consistently the annotators identified targets, recognized opinion expressions, or chose the broad polarity of a sentence. The methods specify the quantities those values would describe. They give no basis for ranking the annotation tasks by reliability in the absence of the coefficients.
What the ablations show
The paper contains no ablation or controlled comparison of systems. Its analyses instead examine how annotators agree and describe cases they found difficult. The examples expose different reasons a decision can become uncertain. In one, an evaluation is conveyed indirectly. In another, a passage contains opinions pulling in different directions. In a third, the evaluative expression is intelligible but its referent is unclear. Each case affects a different part of the annotation task.
An indirect judgment in a comparison
The paper describes a customer who criticizes a battery and draws a parallel with the design of the device. The unfavorable evaluation is overtly attached to the battery. By drawing the comparison, the customer also conveys a poor opinion of the design. A reader can recover both judgments, but the second depends on the construction as a whole. There is no separate descriptive phrase about the design comparable to the one applied directly to the battery.
This example shows why identifying a feature and understanding how it is evaluated can require different evidence. Both feature names are visible in the sentence. The interpretation of the design depends on the relation created by the comparison. For annotation, the difficult step is deciding how to represent the connection between the design and the evaluative wording. A human reader’s ability to infer the criticism does not by itself guarantee that different annotators will select the same pair of expressions.
The case also shows why keywords and aspects serve different purposes. A cue can help explain the polarity of an overt expression, while an aspect annotation concerns the entity or feature evaluated through that expression. Recognizing negation and emphasis can make the criticism of the battery clear. The same cues do not settle how the criticism applies to the design. The annotator also has to interpret the relationship introduced by the comparison.
A favorable conclusion after criticism
In another example, a writer criticizes a phone and the quality of its photographs, then says they like the device. The example matters because the positive and negative statements are all meaningful. The final expression of liking is compatible with dissatisfaction about particular qualities. The reader has to decide what rating fits the unit under consideration, especially if the rating is meant to capture the overall view instead of a summary count of expressions.
The authors raise this problem to explain why the number of favorable or unfavorable words leaves the assignment unsettled. The closing statement directly expresses an attitude toward the product. The preceding criticism describes defects the writer still perceives. Treating each expression as a vote of equal force would ignore differences in what the statements concern and how the writer presents them. The human rating represents an interpretation of the unit as a whole, while the marked expressions make the component judgments visible.
The example relates to the polarity illustrations, where some opposing evaluations receive a neutral score and others appear in a passage with an unfavorable score. Those illustrations make comparison possible at the level of specific readings. The study does not vary the wording of the same passage to measure the independent effect of adding a closing statement. Its qualitative evidence shows why a closing statement can matter and why the contribution of that statement depends on the rest of the review.
Uncertainty about what an expression describes
The paper’s camera example mentions advanced technology and then uses a description that could pick out the camera or the technology as among the newest of its kind. A reader can understand the favorable import of recency in the passage while remaining uncertain which object the description concerns. Accordingly, readers may converge on broad polarity and still produce different aspect annotations.
This is an example of the problem studied under coreference resolution. The difficulty for SentiPers is the effect on the sentiment record. If the camera is the target, the statement contributes evidence about the overall device. If the technology is the target, it contributes evidence about one feature. Either way, the category for the sentence might be similar. The interpretations diverge exactly where aspect-level annotation is intended to add detail.
The authors say that identifying referents can become harder in informal Persian, where the organization of the writing is sometimes looser. Their discussion supplies a linguistic reason for examining register when interpreting annotations. It gives no separate reliability estimate for expert and user material. The examples establish that the issue arises and shows up in the decision about targets. They leave its frequency and its effect on agreement across registers open.
Limitations
Boundaries the authors identify
The authors explicitly situate SentiPers in electronics reviews and list expansion into news, politics, and sport as future work. The annotations therefore describe how judgments are expressed in the material collected for this study. Extending the scheme to other subjects would involve encountering different entities, conventions, and reasons for expressing an opinion. The paper gives a plan to broaden the corpus, while its examples and statistics concern the electronics collection.
Automatic sentiment analysis is also future work in the authors’ account. They propose applying learning methods to SentiPers and evaluating their accuracy. The work here establishes the collection and describes the human interpretation used to label it. How well an automatic system could identify sentiment in unseen sentences, recover local targets, or transfer judgments to other sources remains open. Each of those outcomes would require an evaluation that specifies which of the annotation tasks the system is expected to perform.
The paper directly acknowledges that annotators can struggle with indirect opinions, conflicting evaluations, and ambiguous targets. These examples matter when interpreting agreement, because the authors argue that the difficulty of an annotation task should influence how its reliability is judged. Agreement on a bounded set of broad polarity categories and agreement on wording selected freely from a sentence place different demands on readers. Even within the same tag type, a plainly stated evaluation and an evaluation implied through comparison create different problems.
Availability has a stated condition. The authors make SentiPers public for research and noncommercial activities. They also note that Digikala permits noncommercial use of its material with attribution to the site. The paper characterizes access within that scope. Its use of a public online source explains where the material came from and the conditions the authors cite for collecting it.
What follows from the study design
The presence of formal and informal material gives the corpus stylistic variety within its setting. The selection still comes from one retail website and one broad family of products. Expert and user writing also differ in their roles on the site. An expert supplies a technical assessment, while a user may recount an experience, advise a buyer, or react to an aspect of the purchase. A difference found between those parts can reflect author role, purpose, or topic as well as register. Isolating the effect of register would require a comparison that accounts for those other influences.
The product statistics also matter for interpreting overall patterns. With phones, cameras, camcorders, and tablets among the most frequent items, a pattern that is common in the corpus may reflect features often discussed for those devices. The collection gives a basis for describing the language of its contributors. A claim about how opinions are expressed across contemporary Persian generally would require broader sampling across sources and purposes. The corpus can preserve informal forms without constituting a representative sample of every kind of informal writing.
The granularity of the sentence scale exceeds the granularity of the polarity agreement study. Annotating strong and mild sentiment makes that distinction available for analysis. Grouping the labels by sign for kappa leaves the reliability of those strength distinctions unanswered. In particular, readers could converge on a negative interpretation and still differ about how intense the criticism is. The overall category can be dependable under the broader decision even if the finer decision is difficult.
Neutrality deserves similar care. The printer example uses the central label for a factual description. The camera example uses it for a passage combining approval and criticism. The label alone cannot distinguish the two readings. A study that treats 0 as evidence of factual or non-evaluative writing would need to examine the underlying wording or annotations. The aspect and opinion layers can help there because they allow local evidence to remain available even when the sentence-level category is neutral.
The anchor formula measures correspondence in the selections made by two annotators, taking the first reader’s marked material as the denominator. Further details determine what one can infer from any result. A reader would need to know how the study treats overlapping boundaries, how it pools comparisons across annotators or passages, and how it handles cases where an annotator selects no anchors. These choices matter when comparing results across corpora with different conventions about what counts as a complete expression. The paper’s definition establishes the basic comparison, and its account leaves those aspects of implementation underdescribed.
Finally, the reported agreement tasks cover specific pieces of the scheme. Fleiss’ kappa addresses sentence polarity in broad categories. The anchor method is described for target and opinion markings. The description supplies no corresponding reliability estimate specifically for document scores, keywords, or the inferred relationship between an opinion and a target. The experienced review of the annotations may help with consistency throughout the corpus. Establishing reproducibility for each layer would require measurements framed around the decisions that layer asks readers to make.
What came after
Persian language understanding beyond opinion annotation
ParsiNLU cites SentiPers in work organized around a suite of Persian language understanding challenges. The connection is clearest at the level of what a resource asks a system or researcher to do. SentiPers defines sentiment judgments within electronics reviews and provides annotations at several levels. ParsiNLU frames the later research problem as a collection of language understanding challenges. A citation links the suite to earlier Persian resources, while the suite’s title establishes its broader scope. Whether it reused particular reviews, labels, or agreement procedures is unspecified. ParsiNLU
That difference in scope matters for reading the continuity between the works. A suite can bring several language understanding tasks into a common evaluation setting. The SentiPers study addresses how to construct one such resource in detail, including where the text comes from, how a score is assigned, and which judgments enter an agreement calculation. The documented relationship is that the broader suite cites the corpus. The specific role of the SentiPers annotation layers in the suite remains open.
Comparing Persian, Dari, and Tajiki
One Language, Three of Its Voices cites SentiPers in an evaluation framed around Persian, Dari, and Tajiki, with translation and understanding as its task areas. The question of coverage changes with that scope. SentiPers distinguishes expert and customer writing in Digikala’s Persian reviews. The later study names three varieties in a cross-variety evaluation. The former difference concerns register and source role inside an electronics corpus, while the latter concerns which varieties are included in translation and understanding tasks. One Language, Three of Its Voices
These are different ways of defining the language that an evaluation covers. In SentiPers, the design preserves formal technical prose and colloquial user writing because an opinion may be phrased differently in those settings. In the later study, the title makes variety an explicit unit of comparison. The citation places SentiPers among the resources relevant to the later discussion. It leaves unspecified whether any part of the electronics corpus enters the evaluations for Persian, Dari, or Tajiki.
Sentiment within broader work on subjective tasks
Exploring Subjective Tasks in Farsi cites SentiPers in a survey and evaluation devoted to subjectivity. In SentiPers, subjectivity leads to specific annotation questions. Readers decide which words express approval or criticism, which thing those words describe, and how to summarize a passage that contains different judgments. The survey’s stated scope places this kind of evidence within a larger class of subjective tasks. Its citation records that the Persian sentiment corpus is part of the work it engages with. A specific role for SentiPers in the evaluation is unspecified. Exploring Subjective Tasks in Farsi
Taken together, the citations document SentiPers appearing in later research with wider frames for Persian language understanding, cross-variety evaluation, and subjectivity. The distinction between citation and data reuse matters here because using a corpus can mean very different things. A later study can cite its existence, carry over its text, adopt its categories, or evaluate a related task using a different scheme. The documented connections establish the first of these for the three works. The particulars of how any of them used the annotated reviews or adapted the method remain unspecified.
Cite
Cite as Pedram Hosseini, Ali Ahmadian Ramaki, Hassan Maleki, Mansoureh Anvari and Seyed Abolghasem Mirroshandel. 2018. SentiPers: A Sentiment Analysis Corpus for Persian. arXiv (Cornell University).
@misc{pedram2018sentipers,
title = {{SentiPers: A Sentiment Analysis Corpus for Persian}},
author = {Pedram Hosseini, Ali Ahmadian Ramaki, Hassan Maleki, Mansoureh Anvari and Seyed Abolghasem Mirroshandel},
year = {2018},
doi = {10.48550/arxiv.1801.07737},
eprint = {1801.07737},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1801.07737}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/pedram-2018-sentipers-sentiment-analysis-corpus-persian/
References
- Muhammad Abdul-Mageed and Mona T Diab. 2012. Awatif: A multi-genre corpus for modern standard arabic subjectivity and sentiment analysis. In LREC, volume 515, pages 3907–3914. our card
- Saeedeh Alimardani and Abdollah Aghaie. 2015. Opinion mining in persian language using supervised algorithms. OpenAlex ↗ · Scholar ↗
- Ayoub Bagheri and Mohamad Saraee. 2014. Persian sentiment analyzer: A framework based on a novel feature selection method. arXiv preprint arXiv:1412.8079. OpenAlex ↗ · Scholar ↗
- Mohammad Ehsan Basiri, Ahmad Reza Naghsh-Nilchi, and Nasser Ghassem-Aghaee. 2014. A framework for sentiment analysis in persian. Open transactions on information processing, 1(3):1–14. OpenAlex ↗ · Scholar ↗
- Anders Berglund, Scott Boag, Don Chamberlin, Mary F Fernández, Michael Kay, Jonathan Robie, and Jérôme Siméon. 2003. Xml path language (xpath). World Wide Web Consortium (W3C), page 131. OpenAlex ↗ · Scholar ↗
- Steven Bethard, Hong Yu, Ashley Thornton, Vasileios Hatzivassiloglou, and Dan Jurafsky. 2004. Automatic extraction of opinion propositions and their holders. In 2004 AAAI spring symposium on exploring attitude and affect in text, volume 2224. OpenAlex ↗ · Scholar ↗
- John Blitzer, Mark Dredze, and Fernando Pereira. 2007. Biographies, bollywood, boom-boxes and blenders: Domain adaptation for sentiment classification. In Proceedings of the 45th annual meeting of the association of computational linguistics, pages 440–447. our card
- Jean Carletta. 1996. Assessing agreement on classification tasks: the kappa statistic. arXiv preprint cmp-lg/9602004. our card
- Simon Clematide, Stefan Gindl, Manfred Klenner, Stefanos Petrakis, Robert Remus, Josef Ruppenhofer, Ulli Waltinger, and Michael Wiegand. 2012. Mlsa―a multi-layered reference corpus for german sentiment analysis. our card
- J.L. Fleiss. 1981. Statistical Methods for Rates and Proportions. Second Edition (https://books.google.com/books?id=I79\_MgAACAAJ). Wiley, John and Sons, Incorporated, New York, N.Y. OpenAlex ↗ · Scholar ↗
- Joseph L Fleiss. 1971. Measuring nominal scale agreement among many raters. Psychological bulletin, 76(5):378. OpenAlex ↗ · Scholar ↗
- Joseph L Fleiss and Jacob Cohen. 1973. The equivalence of weighted kappa and the intraclass correlation coefficient as measures of reliability. Educational and psychological measurement, 33(3):613–619. OpenAlex ↗ · Scholar ↗
- Effat Golpar-Rabooki, S Zarghamifar, and Jalal Rezaeenour. 2015. Feature extraction in opinion mining through persian reviews. Journal of AI and Data Mining, 3(2):169–179. OpenAlex ↗ · Scholar ↗
- Mohammad Sadegh Hajmohammadi and Roliana Ibrahim. 2013. A svm-based method for sentiment analysis in persian language. In International Conference on Graphic and Image Processing (ICGIP 2012), volume 8768, page 876838. International Society for Optics and Photonics. OpenAlex ↗ · Scholar ↗
- Andrew F Hayes and Klaus Krippendorff. 2007. Answering the call for a standard reliability measure for coding data. Communication methods and measures, 1(1):77–89. OpenAlex ↗ · Scholar ↗
- Minqing Hu and Bing Liu. 2004. Mining and summarizing customer reviews. In Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining, pages 168–177. OpenAlex ↗ · Scholar ↗
- Jason S Kessler, Miriam Eckert, Lyndsie Clark, and Nicolas Nicolov. 2010. The icwsm 2010 jdpa sentiment corpus for the automotive domain. In Proceedings of the 4th International AAAI Conference on Weblogs and Social Media Data Workshop Challenge (ICWSM-DWC). Citeseer. OpenAlex ↗ · Scholar ↗
- Soo-Min Kim and Eduard Hovy. 2004. Determining the sentiment of opinions. In COLING 2004: Proceedings of the 20th International Conference on Computational Linguistics, pages 1367–1373. our card
- Roman Klinger and Philipp Cimiano. 2014. The usage review corpus for fine-grained, multi-lingual opinion analysis. In Proceedings of the Language Resources and Evaluation Conference. our card
- Bing Liu. 2012. Sentiment analysis and opinion mining. Synthesis lectures on human language technologies, 5(1):1–167. OpenAlex ↗ · Scholar ↗
- Karo Moilanen and Stephen Pulman. 2007. Sentiment composition. OpenAlex ↗ · Scholar ↗
- Alexander Pak and Patrick Paroubek. 2010. Twitter as a corpus for sentiment analysis and opinion mining. In LREc, volume 10, pages 1320–1326. our card
- Bo Pang, Lillian Lee, and Shivakumar Vaithyanathan. 2002. Thumbs up? sentiment classification using machine learning techniques. arXiv preprint cs/0205070. our card
- Bob Pang and Lillian Lee. 2008. Opinion mining and sentiment analysis (https://doi.org/10.1561/1500000001). Foundations and Trends in Information Retrieval, 2(1-2):1–135. OpenAlex ↗ · Scholar ↗
- Mohammed Rushdi-Saleh, M Teresa Martín-Valdivia, L Alfonso Ureña-López, and José M Perea-Ortega. 2011. Oca: Opinion corpus for arabic. Journal of the American Society for Information Science and Technology, 62(10):2045–2054. OpenAlex ↗ · Scholar ↗
- Mohamad Saraee and Ayoub Bagheri. 2013. Feature selection methods in persian sentiment analysis. In International Conference on Application of Natural Language to Information Systems, pages 303–308. Springer. OpenAlex ↗ · Scholar ↗
- Yohei Seki, David Kirk Evans, Lun-Wei Ku, Le Sun, Hsin-Hsi Chen, Noriko Kando, and Chin-Yew Lin. 2008. Overview of multilingual opinion analysis task at ntcir-7. In NTCIR. OpenAlex ↗ · Scholar ↗
- Mohammadreza Shams, Azadeh Shakery, and Heshaam Faili. 2012. A non-parametric lda-based induction method for sentiment analysis. In The 16th CSI international symposium on artificial intelligence and signal processing (AISP 2012), pages 216–221. IEEE. OpenAlex ↗ · Scholar ↗
- Songbo Tan and Jin Zhang. 2008. An empirical study of sentiment analysis for chinese documents. Expert Systems with applications, 34(4):2622–2629. OpenAlex ↗ · Scholar ↗
- Janyce Wiebe, Theresa Wilson, and Claire Cardie. 2005. Annotating expressions of opinions and emotions in language. Language resources and evaluation, 39(2-3):165–210. OpenAlex ↗ · Scholar ↗
- Hong Yu and Vasileios Hatzivassiloglou. 2003. Towards answering opinion questions: Separating facts from opinions and identifying the polarity of opinion sentences. In Proceedings of the 2003 conference on Empirical methods in natural language processing, pages 129–136. our card