Some Issues on the Normalization of a Corpus of Products Reviews in Portuguese
Paper · 2014 · Magali Sanches Duran, Lucas Avanço, Sandra Aluísio et al.
Summary
A product review can be perfectly understandable to a shopper and still cause problems for software that analyzes its grammar. A product name may appear in lower-case, a sentence may end without a period, and a word may be stretched to show enthusiasm. Duran and colleagues study these features in Brazilian Portuguese reviews from Buscapé. They ask which changes make the reviews easier for a part-of-speech tagger to process. The tagger assigns grammatical categories to words in context, and its output is intended to support later stages of a project on opinion mining and summarization.
The authors take a small sample of reviews, check the tagger’s output by hand, and prepare separate versions correcting capitalization, punctuation, spelling, and internet slang. The tagger’s reported precision on the original sample is 88.74%. Correcting capitalization by hand produces the largest reduction in tagging errors among the individual changes, at 15.94%. Correcting punctuation requires more interventions in the sample, yet yields a smaller reduction in tagging errors. Applying all the manual corrections brings the reported error reduction to 19.56%. These figures describe a diagnostic sample selected for close examination. The authors caution against treating its distribution of errors as representative of the full collection.
Capitalization also demonstrates the difficulty of turning a manual correction into an automatic procedure. The authors try using a Portuguese name recognizer to restore capitals to names and remove capitals from other words. It identifies some names that already have capitals and finds none to restore from lower-case. Removing capitalization from words outside the recognized set makes tagging worse, even when the authors use a dictionary to restrict which words the procedure can change. A separate search finds some names and acronyms in the product information attached to reviews. This gives the authors a domain-specific source of evidence for future capitalization work, with coverage measured by matches rather than by an improvement in tagging.
The study also asks what should survive normalization. A name written in lower-case can obscure its grammatical role, while repeated letters or punctuation can carry the strength of an opinion. The authors consider keeping original and corrected forms available for different uses and propose letting users handle different kinds of internet slang separately. The paper establishes which manual corrections helped this tagger on the sample and reports early tests of ways to automate part of that work. Sentence segmentation, broader name recognition, and improved spelling correction remain in development.
Deep dive: Some Issues on the Normalization of a Corpus of Products Reviews in Portuguese
A study of how capitalization, punctuation, spelling, and internet slang affect part-of-speech tagging in Brazilian Portuguese product reviews. · about 33 minutes to read
The problem and its context
When readable text is difficult to process
The Buscapé reviews come from customers writing about products in their own words. The service gives reviewers places to describe advantages, disadvantages, and their overall opinion, but the wording within each part is free. Some contributions follow conventional written Portuguese closely. Others use informal abbreviations, unconventional capitals, few punctuation marks, or spellings that a dictionary will fail to recognize. The resulting collection contains both the opinions the research project needs and writing practices that can interfere with the software used to analyze them.
It helps to distinguish a feature of a review from a problem for a particular tool. A reader who already knows which product is under discussion may recognize its name when it appears entirely in lower-case. A tagger can use capitalization as evidence about a word’s grammatical category, so the same writing choice takes away a clue from that tool. An enthusiastic reviewer can also put a normally lower-case word in capitals. In that case, capitalization is present, but what it tells the human reader concerns emphasis. The grammatical analyzer needs to decide whether the capital letters carry the kind of information it usually relies on.
The authors use normalization to mean changing features of a text so that it more closely resembles the kind of writing that existing language tools can handle. What counts as an appropriate change depends on the intended use. Product reviews are valuable for sentiment analysis because they communicate reactions, sometimes in forms that conventional written text uses less often. A procedure that makes a sentence easier to analyze can also remove evidence of enthusiasm, frustration, or laughter. The project therefore has to decide which information to alter for a given stage and how to keep the original evidence available.
The immediate concern is the beginning of a longer processing chain. The project plans to identify opinions, classify them, and summarize reviews. It also plans to add semantic role labeling, which assigns roles to participants and other parts of a sentence in relation to what is being described. In the authors’ setup, these roles are assigned to nodes in syntactic trees. Building the trees requires parsing, and the parser relies on an earlier layer of grammatical information that includes the part-of-speech tags.
An error at the tagging stage can therefore affect more than the tag on an isolated word. The parser may build an unsuitable tree from the input it receives, and a defective tree can give the semantic annotation stage the wrong structure to work with. The project intends to use the resulting linguistic annotation to train a semantic role classifier, whose output could in turn supply information to the opinion miner. The authors investigate the earliest point in this chain where they can measure a concrete effect of the reviews’ writing conventions. That focus explains why they evaluate the effect of normalization through the tags, even though the project’s ultimate interest lies in the opinions.
What earlier approaches treated as normalization
The paper places the study within work on using the web as a source for corpus linguistics. Some problems in a web collection arise from the way material is collected. The same document may occur repeatedly, and recurring page elements may be captured along with the text of interest. Removing duplicate texts and boilerplate can be useful across languages and genres. At the level of individual words, rules about spelling, capitalization, punctuation, and informal expressions depend more heavily on the language and the source of the material.
The paper discusses nonstandard writing from several sources, including learner writing, transcribed speech, digitized documents, and informal web communication. Their resemblance lies in the difficulty they can pose for tools developed on conventional written text. Their differences matter when deciding what to change. A hyphen introduced because a printed word crosses a line boundary calls for a different judgment from the one involved in interpreting an abbreviation in a review. Even within the same kind of edit, a character that looks like an error can be a legitimate part of a word.
Earlier work described in the paper took two broad approaches. One treated normalization as a machine translation task, with the original wording on one side and the intended normalized wording on the other. The paper cites phrase-based statistical SMS normalization as an example of this line of work. The approach requires enough paired originals and corrections to train the conversion procedure. The original and edited texts serve jointly as examples of how the system should transform new material.
The other approach divides normalization into problems that can be addressed in sequence. Spelling, punctuation, and capitalization can then have separate procedures and can draw on different evidence. A product title may help identify a name, for instance, while a sequence of neighboring words may help determine where a sentence ends. The authors adopt this approach because they want to diagnose the contribution of distinct kinds of changes and develop procedures suited to what they find. The question of sequence becomes important when a decision at one stage affects which words the next stage will attempt to change.
Why context and preservation matter
Capitalization shows why normalization can involve interpretation. The paper gives Oi and Claro as Brazilian mobile network names. The lower-case forms also have ordinary uses in Portuguese, with oi serving as a greeting and claro meaning clear. A rule that always turns the character sequence into a capitalized name would interfere with those ordinary uses. A rule that always makes it lower-case would erase a useful distinction in passages about the companies. The authors connect this ambiguity to earlier work that treated capitalization as a problem of word sense disambiguation. Choosing the case of a word can require deciding which use is intended.
They also cite earlier work on German dehyphenation. When a document is digitized, a hyphen may be present because a word was split in the printed layout. Other hyphens belong to legitimate written forms. The surface character provides limited evidence on its own, and removing every instance would change valid words along with unwanted ones. Capitalization in the reviews presents a related judgment. An upper-case letter can be evidence of a proper name, a reviewer’s way of adding emphasis, or a conventional capital at the beginning of a sentence.
The approach to preservation discussed in the paper comes from earlier work on keeping corrections as an added layer. Under that arrangement a reader or a later procedure can access the original form and its normalized counterpart. This matters when the information discarded by one transformation is useful elsewhere. Collapsing a long string of repeated letters can make the intended word easier to recognize. Keeping the original string preserves the reviewer’s decision to prolong it. The authors consider retaining multiple versions of their corpus because its grammatical and opinion-oriented tasks have different reasons for consulting the text.
The genre change also raises a question about where to make the adaptation. One possibility is to change the reviews so that they resemble input familiar to existing tools. Another is to adapt the tools themselves so that they can work with the reviews’ conventions. The authors see roles for both. Their diagnostic experiment begins by adjusting the input to an existing tagger. Their proposals for sentence boundaries and spelling also point toward procedures that can deal more directly with informal writing and the vocabulary of product reviews.
The method, step by step
From the collected reviews to a tagging reference
The authors collect the reviews from Buscapé’s product database. A review is connected to a registered product, and the researchers retain the product name as information associated with the review. The distinction between these two sources becomes important in the capitalization experiments. The review contains what the customer wrote, including inconsistent spellings and capitalization. The accompanying information identifies the product selected on the service and can provide evidence about the intended name in the review.
The paper draws on an earlier study of words that Unitex, a Brazilian Portuguese lexicon, failed to recognize. A lexicon check can identify forms worth inspecting, but the reason for an unsuccessful lookup still has to be determined. A word may be missing an accent. It may be a product name, a foreign word, or an abbreviation. It may also be a word in ordinary use that the lexicon lacks. The earlier study dealt automatically with forms that only lacked diacritics and classified recurring forms from the remainder. That classification gives the present authors a source of candidates for examining names, acronyms, and spelling.
For the tagging diagnosis, the authors randomly select 10 reviews containing 1226 tokens. A token is an occurrence counted in the text, so a recurring written form contributes each time it appears. A type is a distinct form in a count of vocabulary. The tagging experiment concerns token occurrences in context. If a given form appears several times, the surrounding words and the intended grammatical category can differ across those occurrences. The authors choose a sample they can inspect manually and use it to look for tendencies.
They run MXPOST on the original reviews. The tagger has been trained on MAC-Morpho, a collection of Brazilian Portuguese newspaper articles with 1.2 million tokens. Its task in this experiment is to assign a grammatical tag to each item it processes in the review sample. The researchers then correct the tagged output by hand. This supplies a human-checked reference for determining which tags the automatic procedure assigned correctly. MXPOST’s annotation guidelines also inform the instructions for correcting the review text, keeping the editorial decisions connected to the conventions of the grammatical analysis.
There are two kinds of manual intervention here. Checking the tags establishes a reference for grammatical decisions. Editing the review establishes a version of the input on which the same automatic tagger can be run. If a word in an original review receives an incorrect tag, fixing the tag records the expected analysis. Restoring its capitalization changes the input and gives MXPOST another opportunity to arrive at that analysis on its own. Keeping these operations distinct is what makes the comparison informative.
Diagnosing normalization through part-of-speech tagging
The steps in order.
How the corrected versions isolate changes
A linguist prepares separate versions of the selected reviews for spelling, case, punctuation, and internet slang. A corrected version for one category gives the tagger that kind of help while leaving the other categories in the input as they were. The authors can thus compare the original run with an edited run whose changes have a defined purpose. They also run the tagger with the categories combined to see how far the overall number of errors falls when the manual corrections are used together.
The spelling pass includes common Portuguese words, foreign words, and named entities. A named entity here can be the name of a manufacturer or product. Such names pose a spelling problem because a reviewer can miswrite them, and a recognition problem because some correct names will be unfamiliar to a lexicon. The manual spelling pass uses human judgment to decide which forms are wrong in context. The earlier Unitex study supplies background on unfamiliar forms, but absence from its vocabulary is insufficient to establish the intended correction.
The case pass changes letters in both directions as needed. A proper name written in lower-case may need an initial capital or another conventional use of upper-case. A word written with a capital where the intended form should be lower-case may need the reverse edit. The authors call this task truecasing. Its purpose is to recover appropriate capitalization in context, including distinctions lost through missing capitals and distinctions obscured by capitals inserted for emphasis.
The punctuation pass permits insertion, removal, and replacement. The authors report that punctuation was the category in which their rules left some room for subjective decisions. That matters particularly when deciding whether and where to insert a sentence boundary. In a stretch of unpunctuated review text, a reader may be able to follow the intended thought even when more than one edited division seems plausible. The linguist has to select an edited version for the tagger to process, and that version embodies an interpretation of how the passage is structured.
The slang pass addresses informal expressions that can be given an ordinary written equivalent or otherwise treated according to the goals of normalization. Later in the paper the authors distinguish substitutions, reduction of repetitions, and treatment of expressive sequences. These distinctions explain why slang is a broad category for a diagnostic pass. Replacing an abbreviation can help recover a familiar expression. Shortening repeated letters can make a word recognizable while removing a cue to intensity. Removing a sign of laughter handles a different kind of material again.
The paper gives no formal equation for the procedure. It reports tagger precision from the hand-checked sample and expresses the effect of editing as a reduction in tagging errors. The former describes how often the tagger was judged correct on the input under examination. The latter uses the errors on the original version as the comparison point. An error reduction therefore describes a change in the error count. It is a different quantity from the precision of a corrected run. The paper presents intervention counts separately so that the prevalence of an edit in the sample and its effect on tagging can be examined on their own terms.
Checking whether case is a wider issue
The authors use two additional kinds of evidence to see whether the capitalization problem extends beyond the selected reviews. First, they compare how frequently different case patterns appear in the product-review corpus and a newspaper corpus. They separate all-uppercase words, words beginning with upper-case, and lower-case words. The comparison uses the visible form of each word. It describes the makeup of the two collections at an aggregate level, where differences in the kinds of words in each genre can contribute alongside differences in writing conventions.
They then look specifically at forms previously labeled as proper nouns. Searching for those forms across the review corpus allows them to record how frequently they occur with an initial capital, entirely in capitals, or in lower-case. This search starts with a group already relevant to the hypothesis about missing capitals. It provides evidence about the forms under investigation without requiring the entire corpus to be annotated for proper names. A form can appear many times, so the resulting distribution describes occurrences of the selected names rather than giving each name equal influence.
The newspaper comparison and the proper-noun search answer different questions. The first asks how the overall mix of case patterns differs between collections. The second asks how a known set of forms behaves in the reviews. A high proportion of lower-case words across a corpus says little by itself about the case of a particular name. Tracking forms already classified as proper nouns brings the analysis closer to the decision an automatic truecaser would need to make.
Testing a name recognizer before spelling correction
The authors give capitalization priority in their work on automatic procedures. The diagnostic suggests that it matters to MXPOST, and they also expect it to affect spelling correction. If a name remains in lower-case and a spelling checker treats it as an unfamiliar common word, the checker may offer an inappropriate replacement. A larger spelling vocabulary can increase the range of possible replacements in such a case. Restoring capitals before checking spelling is intended to help identify names that should be handled with care.
The first automatic trial uses Rembrandt, a Portuguese system for named entity recognition. This task involves identifying spans that refer to named entities in text. The paper describes Rembrandt as drawing on lexical information from Wikipedia and on statistical evidence. The authors first submit the reviews to Rembrandt. They then plan to capitalize lower-case expressions it recognizes as names and to lower-case initially capitalized words outside its recognized set. MXPOST processes the resulting text so that the authors can judge the effect on tagging.
That procedure gives Rembrandt’s output two roles. Recognition authorizes adding capitals to an expression that had lacked them. Absence from the recognition output can authorize removing capitals from an expression that already has them. The second use is stronger than simply leaving an uncertain form alone. If Rembrandt misses a real name, the capitalization rule can erase a clue that an unmodified review would have passed on to MXPOST. The test therefore depends on the recognizer finding the kinds of entities whose case the authors want to repair.
A second trial restricts the removal step. A capitalized word outside Rembrandt’s recognized entities is considered for lowercasing only when Unitex recognizes it. The lexicon supplies a further reason to think the word has a conventional lower-case use. Its presence in Unitex still leaves a contextual question, since an ordinary word and a name can share a written form. The revised procedure tests whether adding this check reduces the damage caused by the broader rule while retaining its intended benefit.
Looking for names in the product information
The authors also investigate a source of evidence tied directly to the review collection. Buscapé accepts reviews about products that have already been registered. Each review can therefore be examined alongside information about the product named in its record. A reviewer’s spelling may obscure the capital letters, but the record provides another way to look for a connection between words in the review and the product it concerns.
For this experiment the authors gather forms previously annotated as proper nouns or acronyms and look for their matches in the corresponding product information. They report the results separately for the two categories and together for the resulting collection of named-entity candidates. The earlier annotation revealed disagreements about whether some entries should be called proper nouns or acronyms. For this use, both categories are candidates for capitalization, so that particular choice of category does not prevent the authors from including them in the joint search.
The procedure tests the availability of relevant evidence. A successful match shows that a candidate appears in the associated information. It can help explain how a future case correction procedure might identify the name of the reviewed product. The experiment does not take a matched item through automatic case editing and then measure its success in MXPOST. Its output is the number of candidates found in the product information, which answers a different question from the Rembrandt trials.
The rationale for looking beyond a fixed collection of names is that product reviews can mention entities the researchers have yet to encounter. A list of previously observed names can help with evaluation or matching, while the opinion mining application needs some way to deal with new names. Product metadata provides context that can vary with the reviewed item. Names that have no match there still require another source of evidence. The authors discuss using patterns in surrounding text or in the written form of names, drawing on prior approaches to capitalization in news and speech recognition.
Work on punctuation, spelling, and slang
For punctuation, the target is sentence segmentation, the identification of where sentences begin and end. This matters because language tools in the project generally process sentences, while some reviews offer few or no written boundary marks. The authors see some scope for grammatical rules about commas. Recovering full stops is a more complex part of the task, especially when capitalization is unreliable as a clue to the beginning of a sentence.
They describe training a machine-learning procedure on well-written material with features based on n-grams, sequences of neighboring units in the text. The intention is to use such patterns to find boundaries where the reviewer supplies neither a reliable period nor a reliable capital. The paper gives the direction of the training work and the kind of feature being investigated. It reports no result for an automatic sentence segmenter.
The spelling work begins with common Portuguese forms that Unitex failed to recognize. The authors run a spelling checker on those forms and undertake manual review of the corrections it suggests. They identify opportunities to improve both the vocabulary and the way suggestions are generated. Some forms need an appropriate replacement. Others are legitimate forms missing from the available dictionaries, so recognizing them would spare a later procedure from trying to change them.
The paper illustrates the suggestion problem with different written representations of the Portuguese sound /s/. A writer can substitute one spelling for another because the alternatives sound the same in a particular word. The authors propose adding phonetic rules so that the spelling checker can supply better candidates for such errors. They also want to include foreign terms in current Brazilian Portuguese use. A vocabulary that recognizes these terms can support correction of their misspellings as well as acceptance of conventional forms.
For internet slang, the proposal divides changes by what they do. A differently written expression or abbreviation with a conventional equivalent can be replaced. Runs of repeated letters or punctuation can be shortened. Emoticons and written laughter can be handled according to whether the intended application needs expressive material. The paper gives the example of prolonging amei, a word used to express love for something. Restoring its ordinary spelling supports recognition of the word. The extended form contains additional information about how the reviewer chose to express that reaction.
The authors envisage switches that allow users to apply these procedures independently. A preparation step for grammatical analysis might benefit from a conventional spelling or shorter punctuation sequence. An opinion analysis can have a reason to retain the expressive forms, or to consult the original version while using the normalized one for other features. This design follows from the range of uses intended for the corpus. The paper describes the switches as planned functionality.
Experiments and results
The corpus and the earlier vocabulary analysis
The full Buscapé collection contains 85,910 reviews, with 4,088,718 tokens and 90,513 types. A frequency list produced after removing stop words, numbers, and punctuation contains 63,917 types. Stop words are common words excluded for the purpose of this kind of list. These figures describe the scale of the material collected and of the vocabulary available for inspection. They also distinguish the full corpus from the much smaller portion for which the authors check tagging by hand.
In the earlier vocabulary investigation, Unitex failed to recognize 34,774 words in the Buscapé corpus. The paper reports that 3,652 of the unrecognized items, or 10.2%, required only the restoration of diacritics and were corrected automatically. The earlier study then classified the remaining forms with more than 2 occurrences, a group reported as 5775. Annotators worked independently, and the reported agreement is 0,752 under the kappa statistic, which takes account of agreement expected by chance.
Among those recurring unrecognized forms, the earlier analysis classified 44% as misspelled common Portuguese words. Proper nouns accounted for 24%, and acronyms for 5%. Foreign words used in Portuguese accounted for 8%, internet slang for 4%, and abbreviations for 2%. The paper also reports 13% for other problems and 0% for units of measurement. These figures apply to the set selected for classification after the earlier filtering steps. They help explain why lexicon failures led the researchers towards both spelling and named entities, since those classes require different decisions.
The vocabulary analysis and the review sample use different units of observation. The vocabulary analysis selects recurring unrecognized forms and classifies them. The tagging experiment starts with complete stretches of review text and examines what happens to grammatical labels in context. A class can occupy a substantial part of the filtered vocabulary while giving rise to fewer interventions in the review sample. The two procedures provide complementary evidence about which problems occur and what those problems do to automatic analysis.
Original tagging and manual corrections
The baseline is MXPOST’s output on the 10 original reviews, which contain 1226 tokens. Manual checking gives a reported precision of 88.74%. The paper puts this beside the tagger’s reported precision of 96.98% on its training corpus. The newspaper figure gives context for applying a tagger to a different genre. The original Buscapé review run is the baseline used to judge each normalization intervention on the reviews.
In the spelling pass, the linguist corrects 24 words, reported as 1.96% of the sample. The corrected items consist of 19 common words, 3 named entities, and 2 foreign words. The breakdown shows that the sample includes everyday spelling errors and errors involving less predictable vocabulary. A spelling procedure for the reviews has to make room for both, since the interpretation of a product name can matter to the application even when the number of such corrections is small.
For capitalization, the authors change 35 words, reported as 2.90% of the sample. They record 29 changes from lower to upper case and 6 in the opposite direction. The two directions matter because normalizing case requires deciding when to restore capitals and when to remove them. On this sample, the balance of the manual edits points toward a need for stronger restoration. That balance makes it especially important to observe what the automatic procedure actually changes.
Punctuation accounts for 48 interventions, the largest intervention count reported across the categories. The paper gives this as 3.92% of the sample. An intervention can be an inserted mark, a deleted mark, or a substitution, so the count describes editing operations. The slang pass finds 3 occurrences, given as 0.24% of the sample. The authors expected to encounter more informal vocabulary of this sort and leave open the possibility that the low count reflects which reviews happened to be selected.
After each separate edit, MXPOST makes fewer tagging errors than on the original sample. Case correction produces a reported reduction of 15.94%. The corresponding figures are 4.34% after punctuation correction, 2.90% after spelling correction, and 1.45% after internet slang conversion. The greatest reduction among the tested settings is 19.56% when the manual changes are applied together.
Manual corrections on the Buscapé review sample by reduction in MXPOST tagging errors
Capitalization gives the largest reduction among individual corrections, and the combined version gives the largest reduction overall.
The numbers
| System or setting | Tagging error reduction % |
|---|---|
| Internet slang conversion | 1.45 |
| Spelling correction | 2.90 |
| Punctuation correction | 4.34 |
| Case correction | 15.94 |
| Combined manual corrections (this paper) | 19.56 |
The percentages in the chart describe the change from the original run’s errors. For instance, the capitalization figure concerns how much the original error count falls when the tagger receives the manually case-corrected reviews. It does not give the percentage of all tokens assigned the right tag in that corrected version. The intervention counts answer yet another question, namely how frequently the linguist changed the inputs. Punctuation leads by the number of edits, while capitalization leads by the reduction in tagging errors. The distinction is important when using this experiment to decide which problem warrants further study.
Capitalization across the review corpus
To investigate whether the manual sample reflects a wider issue, the authors compare the case distributions of the review and newspaper corpora. Words beginning with upper-case make up 7.30% of the product reviews and 20.86% of the newspaper collection. Lower-case words account for 85.37% of the reviews and 70.79% of the newspaper collection. All-uppercase words account for 5.30% of the reviews and 6.41% of the newspaper collection. The clearest contrast in the reported distributions concerns words beginning with a capital.
These figures compare visible case categories across genres. A difference can arise from what people mention, how sentences are organized, or how people capitalize comparable words. The authors use a separate search to get closer to the last issue. They look for 1,339 previously identified proper nouns in the reviews and find 40,009 occurrences. In that pool, they count 17,469 lower-case occurrences, reported as 44%. They report 15,148 with initial upper-case, or 38%, and 7,392 in all capitals, or 18%.
Lower-case is the most frequent pattern in that search. The finding adds evidence to the observation that the linguist often needed to restore capitals in the sample. It rests on forms already identified as proper nouns and concerns how often those forms appear in each case pattern across the corpus. It is thus more specific than the general comparison between reviews and newspapers, which includes words of every kind.
Automatic case correction and the original baseline
In the capitalization trials, the paper reports 138 tagging errors on the sample before preprocessing. After the broad Rembrandt-based procedure, the error count rises to 149. The Unitex restriction brings the result to 143 errors, closer to the original run. The original case treatment, in which MXPOST receives the reviews as written, gives the lowest error count among these settings.
Original and automatically recased Buscapé reviews by MXPOST tagging errors
The dictionary restriction reduces errors relative to the broader recasing rule, while the original reviews give the lowest error count.
The numbers
| System or setting | Tagging errors |
|---|---|
| Original reviews (this paper) | 138 |
| Rembrandt with Unitex restriction | 143 |
| Rembrandt recasing | 149 |
The sample contains 57 named-entity tokens, including proper nouns and acronyms. Of those tokens, 24 are lower-case. Rembrandt recognizes 22 of the 57 tokens and 18 of the 38 distinct named-entity types. The paper reports 47.4% for its recognition of the distinct types. Each of the recognized entities is already capitalized. Consequently, the restoration step adds upper-case to no lower-case word in either trial.
That detail explains why the experiment offers little scope for the intended benefit. The procedure can use recognition to justify a restoration only when the recognizer finds a lower-case entity. When that never happens, both edited versions are driven by the removal of capitals. The paper attributes the worsening of the broad procedure to already capitalized names that fell outside the recognizer’s output and were then lower-cased. The dictionary restriction limits the set of words affected enough to reduce the error count relative to the first trial, while the original reviews still fare better.
These comparisons put the manual and automatic results in perspective. The linguist can recover capitals by interpreting a name in the review, and the manual case pass shows the benefit MXPOST can obtain from those corrections. Rembrandt tends to succeed when a capital is already available as evidence. Using it to find the names that most need a capital requires it to work on the very forms for which that evidence is missing. The manual reduction motivates work on truecasing, while the automatic trials identify a problem with the chosen way of finding candidates.
Matches in product information
The metadata test reports a separate set of counts. Of 1,334 proper nouns tested, 676 occur in the associated product information, reported as 50.67%. Among 271 acronyms, 44 are found, reported as 16.23%. The combined result is 720 matches among 1605 candidates, or 44.85%. The 1,334 proper nouns in this test are the count reported for the metadata comparison, while the corpus-wide case search is described using 1,339.
The match is especially relevant to the authors because reviews address products already registered in the service. Product names recovered this way are directly connected to the opinions the project seeks to analyze. The much lower coverage reported for acronyms shows that the usefulness of the accompanying information differs across the candidate groups. A review can also refer to entities outside the information for the product being reviewed. Those cases remain part of the capitalization problem.
The match rate is a coverage measurement for the previously annotated candidates. It gives no count of incorrect capitalization decisions that a procedure using metadata might make across complete reviews. It also supplies no tagging error count for text edited on the basis of a match. The result establishes that the attached information frequently contains relevant material and gives the researchers a reason to pursue it as evidence for a later procedure.
Spelling evidence beyond the sample edits
The spelling work offers qualitative evidence about the kinds of forms that need attention. The authors report that manual inspection of spelling suggestions revealed correctly written terms missing from available lexicons, alongside actual errors for which better suggestions were needed. They discuss the different spellings that can represent the same sound as a reason to improve the handling of plausible substitutions. This analysis concerns how to generate and assess candidates for correction.
Foreign terms present a related problem because reviewers use them to describe products and features. The paper reports 10 spellings associated with touchscreen in the corpus, each occurring more than 2 times. Some separate the elements with a space or a hyphen, while others involve letter changes. The example shows how spacing and spelling variation can affect forms associated with the same product feature. It illustrates why the authors want both better lexical coverage and more suitable suggestions. The paper gives no aggregate evaluation of a revised spelling checker.
What the ablations show
The paper reports no formal ablation of a trained system and instead offers controlled comparisons among manually edited inputs, comparisons of automatic recasing rules, and analyses of capitalization across the corpus.
What the manual comparisons isolate
The authors hold MXPOST and the sampled reviews fixed while changing one category of input at a time. This allows each separate run to test a bounded intervention. The spelling result concerns a version in which spelling is repaired while other features are available to the tagger in their original forms. The same design applies to punctuation, case, and slang. The useful contrast is between what the tagger does with the original and what it does when it receives a specific kind of editorial help.
Capitalization comes out ahead in this design. That establishes that, for this tagger and sample, the manual case changes made more difference to tagging errors than the other categories tested separately. It also rules out the idea that the most frequently edited category necessarily gives the largest immediate improvement. Punctuation requires the most interventions, yet has a smaller effect on the reported tagging metric. The comparison concerns the tagger’s response to the edits, so an edit can have substantial value elsewhere in the processing chain even if its benefit for this metric is modest.
The combined result shows that providing all the manual corrections gives the best reported setting. The paper does not test every combination or isolate the contribution of an edit once another category has already been corrected. It is therefore possible to rank the separate interventions on the original sample and compare them with the combined version. The design leaves open which categories help on the same passages, which influence different errors, and whether the order of actual automatic interventions would change the outcome.
The authors’ proposed ordering of capitalization before spelling arises from the risk of applying spelling correction to unrecognized names. The manual comparison does not directly test that ordering. A linguist can identify what a word is while preparing a correction and need not depend on the output of an earlier automatic stage. An automatic spelling checker, in contrast, can act on the information passed to it, including the capitals preserved or restored in a preceding step. The order is a rationale for system design grounded in the types of error the authors observe.
What changes when the automatic rule is narrowed
The automatic truecasing trials allow a more specific comparison. Both use Rembrandt to look for names and leave recognized names protected from the removal rule. The narrower version requires recognition by Unitex before a remaining capitalized word can be lower-cased. The change tests whether a lexical check helps restrain the consequences of relying on Rembrandt’s output.
The smaller error count for the restricted procedure supports the authors’ account that the broader rule removed some useful capitals. Since neither procedure capitalizes any lower-case word, the two settings provide evidence about the effects of removing capitals under different conditions. The narrower procedure protects more of the original casing, but it cannot deliver the missing restoration simply by narrowing removal. The original reviews still preserve evidence that both automatic transformations can discard.
The recognition counts help localize the problem. A single coverage figure would leave open whether the names Rembrandt found were the names whose case needed repair. The paper checks their original form and finds that recognition is confined to names already written with capitals. This connects the failure to the conditions under which the tool is being asked to operate. A recognizer can be useful on the kinds of text in which it normally finds names, while still providing weak evidence for case restoration in lower-case review text.
The metadata experiment addresses that gap by looking for evidence outside the written review. The search can succeed because a relevant name occurs in product information even when the review offers poor capitalization cues. Since the test ends at matching, its contribution is to show where evidence for a later correction might come from. The results of recasing and retagging remain open for that approach.
What the broader distributions contribute
The capitalization comparisons bring together evidence at different scales. The manual experiment finds that restoring or changing capitals can help one tagger on particular reviews. The cross-genre distribution shows that case patterns overall differ between the reviews and the newspaper collection. The proper-noun search shows that lower-case is common among the occurrences of forms the researchers had already identified as names. The agreement of these observations gives the authors a basis for treating capitalization as an issue worth examining across the collection.
Each observation retains its own unit and interpretation. A tagging error reduction describes a changed output from MXPOST. A genre distribution counts written forms, and the proper-noun analysis follows a selected collection of entries. The latter analyses extend the evidence about how widely casing may matter without extending the measured tagging improvement beyond the diagnostic sample. In this way the paper identifies a recurring input condition and demonstrates a possible benefit of repair under a controlled manual intervention.
Limitations
Limits the authors state
The authors describe the sample as exploratory. They chose reviews at random and selected an amount of material practical for manual work, without a sampling design intended to yield reliable estimates for the corpus. The share of cases needing a spelling, capitalization, punctuation, or slang correction can therefore differ elsewhere in the collection. The authors explicitly acknowledge this possibility for internet slang, where few examples appeared in the selected reviews despite their expectation that informal vocabulary would have a larger presence.
They also report that punctuation correction involves some subjective decisions. Their guidelines constrain the work and tie it to the project’s goals, but punctuation sometimes allows more than one reasonable choice. This is particularly important when punctuation helps define the material a sentence-oriented tool receives. The experiment measures the effect of the edited version prepared by the linguist. It leaves room for a different defensible version to have a different effect.
The authors name a limitation of fixed lists of proper nouns and acronyms. Opinion mining needs to handle names that enter use after such a list is assembled or that were absent from the material used to build it. The product information offers coverage for part of the problem and still leaves names to be recognized from other evidence. Their assessment of Rembrandt is also tied to the procedure in the paper. They trace the poor fit to its reliance on capitalization in a task that requires recognition when capitalization is missing.
The paper describes the work as preliminary. Automatic sentence segmentation is in training, the spelling suggestions are under manual review, and the configurable slang procedures are planned. The authors also consider keeping multiple versions of the corpus. These are responses to the requirements revealed by the diagnosis. The reported evaluation covers manual input changes, the attempted recasing rules, and the availability of information for possible future procedures.
Limits visible in the experimental design
The tagging comparison uses MXPOST, trained on newspaper articles, on reviews from a single service. It establishes that the writing choices studied matter to this tool in this setting. Another tagger could rely on different evidence or be trained on text closer to the target genre. Its response to capitalization or punctuation could differ. Similarly, the presence of product information is a feature of the Buscapé collection process. A collection gathered without that connection between a review and a product record would offer different evidence for recognizing names.
The figure for MXPOST on its training corpus is a contextual reference. It differs from the review result in textual genre and in the relationship of the evaluated material to the tagger’s training. The comparison cannot isolate a causal effect of genre alone. The manual normalization runs give a more controlled indication of the effects of input editing because the sample and the tagger are held fixed while the selected category changes.
The paper reports manual correction under the project’s rules and mentions agreement from the earlier task of classifying unrecognized vocabulary. The earlier agreement figure concerns that classification task. It does not quantify agreement on the manual tags or on the edited versions of the reviews. In particular, the uncertainty the authors mention about punctuation cannot be estimated from the earlier kappa value. A reader can interpret the corrected reviews as a practical reference for the experiment while recognizing that the paper gives no agreement measurement for that editing work.
The ranking by tagging error reduction is specific to the metric and conditions reported. The study does not measure whether the same manual changes give better syntactic trees, produce more accurate semantic roles, or improve opinion classification and summarization. The pipeline gives a reason to care about earlier grammatical decisions, but the final effect depends on how later stages use their inputs. A task that benefits from expressive spellings could respond differently from a tagger even when both process the same review.
The combined correction result also leaves interactions unresolved. Since the authors report separate passes and a version with all corrections, readers can see how each of those settings compares with the original input. The paper does not show how any pair of categories behaves together or which particular correction repairs a specific error once other changes are present. The totals are suitable for the diagnostic question. A characterization of interactions would require more detailed comparisons.
The corpus-wide searches have corresponding limits. The case distribution by genre describes the forms visible in each corpus and does not identify why every individual form appears that way. The proper-noun search depends on the names selected through earlier annotation. The metadata results likewise start from previously classified candidates, with no full evaluation of what a procedure would identify in unseen reviews. A match can be relevant without settling how to case every occurrence of that form in context.
Finally, the value of keeping expressive forms is motivated by examples and by the needs of the wider project. The authors show that repetitions, emoticons, and laughter carry distinctions a normalization procedure can remove. They do not give a measured effect of preserving or deleting these forms on sentiment or summarization. The choice to retain access to the original text is a proposed way of accommodating the different tasks while those effects remain to be tested.
What came after
No later study is documented here as building on these experiments. The paper closes with an agenda for developing automatic procedures, including recognizing names when capitals are missing, identifying sentence boundaries in unpunctuated reviews, and improving spelling suggestions for product vocabulary. These directions follow from the diagnosis and the initial tests. Their completion and performance were outside the reported study.
Cite
Cite as Magali Sanches Duran, Lucas Avanço, Sandra Aluísio, Thiago Pardo and Maria da Graça Volpe Nunes. 2014. Some Issues on the Normalization of a Corpus of Products Reviews in Portuguese. Proceedings of the 9th Web as Corpus Workshop (WaC-9).
@inproceedings{duran2014some,
title = {{Some Issues on the Normalization of a Corpus of Products Reviews in Portuguese}},
author = {Magali Sanches Duran, Lucas Avanço, Sandra Aluísio, Thiago Pardo and Maria {da Graça Volpe Nunes}},
booktitle = {Proceedings of the 9th Web as Corpus Workshop (WaC-9)},
year = {2014},
doi = {10.3115/v1/w14-0404},
url = {https://doi.org/10.3115/v1/w14-0404}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/duran-2014-some-issues-normalization-corpus-products/