Elamur Research

User-Generated Text Corpus for Evaluating Japanese Morphological Analysis and Lexical Normalization

Paper · 2021 · Shohei Higashiyama, Masao Utiyama, Taro Watanabe et al.

Summary

An informal Japanese spelling can cause an analyzer to see several words where a reader sees one. A writer who adds length marks to しかも, meaning “besides,” still uses the same expression, but an analyzer may split the altered sequence before it can identify the word. An unfamiliar abbreviation or a face made from punctuation poses a related problem. The analyzer must recognize the expression as a unit even when there is no conventional spelling to recover. Higashiyama and colleagues built BQNC, the blog and Q&A site normalization corpus, so researchers could measure these errors against a shared reference and see which kinds of writing cause them.

From the Balanced Corpus of Contemporary Written Japanese, the authors chose 929 sentences by hand, drawing on its blog and Q&A registers. They checked the existing analyses against the source corpus’s short unit word convention and added information about vocabulary and spelling. The finished corpus contains 12,600 word tokens, of which 767 have non-standard forms. A token can have both a vocabulary label and a spelling label. The authors can thus mark a place name as a name and also record that it appears in an unusual script. For a token that calls for normalization, the reference can accept several written forms if they are all conventional.

The study compares MeCab with MeCab+ER, which gives the same analyzer extra word candidates through rules for informal spellings and sound-symbolic expressions. Segmentation F1, a score that combines precision and recall, rises from 92.1 to 95.0 on BQNC. F1 for broad grammatical categories rises from 90.3 to 92.8. The largest improvement in boundary recall among the spelling categories comes on variants that change the word’s pronunciation. Recovering a conventional spelling remains difficult. MeCab+ER reaches normalization F1 of 35.3 and recall of 25.8%. It recovers some forms with altered pronunciations and some unusual spellings with unchanged pronunciations. Its normalization recall is 0.0% for script variants and 0.0% for typographical errors.

The examples show what those scores count. Extra candidates let the analyzer keep some stretched or respelled words together and sometimes recover an accepted spelling as well. A pattern intended to recognize a sound-symbolic word can also join separate expressions that happen to have the expected shape. Both configurations miss words whose spellings combine several kinds of change, as well as unfamiliar emoticons, abbreviations, and names. Because the reference records boundaries, grammatical categories, and accepted spellings, it can show whether an analyzer found a word and where any remaining error occurred.

Deep dive: User-Generated Text Corpus for Evaluating Japanese Morphological Analysis and Lexical Normalization

The BQNC corpus shows where Japanese text analyzers succeed and fail at finding words, assigning grammatical tags, and normalizing informal spellings. · about 38 minutes to read

The problem and its context

What an analyzer has to recover

A sequence of Japanese writing ordinarily gives the analyzer characters without explicit delimiters between its words. The analyzer must work out which stretches of text belong together. That decision supplies the units for the rest of the analysis. If the system splits a word down the middle, it can assign plausible grammatical descriptions to the pieces and still miss the word that the writer used. A rule that proposes a whole word can correct that error. The same rule can create a new error if it encourages the analyzer to join a sequence that should remain divided. The paper evaluates the task of finding these boundaries, known as word segmentation.

Once the analyzer proposes a word, it also needs to say what it is. It assigns a grammatical category, as in part-of-speech tagging. It can link an inflected occurrence back to a dictionary headword, or lemma. The paper groups segmentation, grammatical tagging, and headword identification under Japanese morphological analysis. A description of the inflected word can then give its grammatical form as well as the dictionary entry it belongs to. These pieces of information apply to the same span, which is why a boundary error can affect several outputs at once.

Lexical normalization asks a different question about that span. Given the spelling the writer used, what conventional written form represents the word in that occurrence? Recovering a lemma can help answer that question, but the lemma and the normalized spelling serve different purposes. A verb or adjective can need an ordinary spelling for its inflected form, even though the dictionary lists it under a different form. There can also be several acceptable spellings for the same occurrence. The reference needs to keep the inflection and allow that choice if it is going to evaluate what the analyzer actually proposes.

The paper separates spelling variation from variation in the vocabulary people use. Adding marks to a familiar expression may put its spelling beyond the analyzer’s dictionary while leaving its identity fairly clear. A new product name or a shortened expression used by a community may already have the spelling its writer intended. The system needs enough evidence to recognize the word in the first place. Those problems can also coincide. A rare spelling of a name presents both a vocabulary problem and a spelling problem, and it can be informative to know whether a system handles either of them.

Japanese script makes this distinction especially important. The paper describes a writing system that uses kanji, hiragana, and katakana as well as Latin letters and other symbols. Some words regularly appear in more than one script, so a script change alone is insufficient grounds for correction. Other choices change the way a word sounds, while some striking visual alterations still indicate its usual pronunciation. A reference has to make explicit which alternatives are ordinary, which forms it expects a system to normalize, and what a valid answer looks like.

How researchers had addressed informal writing

Earlier Japanese analysis benefited from annotated material in domains such as news. The paper names work that learned how to assign analyses from such data, including Kudo and colleagues’ use of conditional random fields for Japanese morphological analysis and Neubig and colleagues’ work on pointwise prediction for Japanese morphological analysis. These studies illustrate the established setting for morphological analysis. Blogs and social media bring the same decisions about boundaries and grammar into contact with a wider variety of spellings and expressions.

One line of work sought pairs linking informal forms to familiar ones. Nakamoto and colleagues aligned strings on the basis of similarity. Ikeda and colleagues used evidence that included frequency and edit distance to derive rules for unusual forms in blogs. Edit distance expresses how much of a string must change to turn it into another. Saito and colleagues investigated character correspondences within manually annotated Twitter pairs. They also studied, in separate work, how similarity in sound and meaning could help find pairs in unlabeled Twitter text. These approaches offer different sources of evidence about a word whose spelling has become difficult to recognize.

Sasano and colleagues approached the problem from inside the analyzer. Their rules supplied possible word analyses during segmentation, including analyses of altered dictionary words and of unfamiliar sound-symbolic expressions. This made it possible for the original spelling and its conventional counterpart to influence the choice of boundaries. If the system has a candidate for the whole unusual form, that candidate can compete with shorter spans in the same sentence. Higashiyama and colleagues adapted this approach for their benchmark. The paper also notes that the rules were incorporated into Juman++.

Earlier work helped shape the categories in BQNC. In Japanese chat, Nakamoto and colleagues described unknown expressions in terms that included contractions, exceptional kana spellings, and abbreviations. Ikeda and colleagues’ blog study separated changes in sound from changes such as visual substitutions. Kaji and colleagues analyzed segmentation errors in Japanese Twitter text and distinguished vocabulary such as dialect words, interjections, names, and emoticons. The BQNC authors see the blog study as a close precedent for classifying variant forms and the Twitter error analysis as a close precedent for classifying vocabulary. They make the criteria for both dimensions explicit enough to apply them to occurrences throughout the corpus.

Why a common reference mattered

Several studies of informal Japanese had evaluated systems on collections that their own research groups annotated. When the inputs or word definitions vary from study to study, even an identically named score can represent different decisions. A token counted as a word under one annotation convention may be split under another. A spelling accepted by one study may have no target in another. To compare analyzers directly, researchers need the same sentences and a reference whose decisions apply to all of them. To explain their differences, the reference also has to let researchers locate errors of a particular kind.

Existing collections met some of these needs. Hashimoto and colleagues assembled Japanese blog text with grammatical and other linguistic information. The paper notes that it contained 38 non-standard forms and 102 misspellings as examples of phenomena specific to user-generated text. Osaki and colleagues annotated Japanese Twitter sentences with morphological analyses and conventional word forms. They distributed annotations together with links to the posts. Higashiyama and colleagues could reconstruct only part of that material because some of the tweets had disappeared. The paper also describes restrictions on redistributing tweets collected through the streaming interface. A benchmark tied to individual posts can lose part of its input even when its annotations remain available.

The paper points to shared normalization resources in other languages. In English, Han and Baldwin assembled a Twitter corpus that Yang and Eisenstein subsequently revised as LexNorm 1.2. The W-NUT shared task used another English Twitter collection, LexNorm2015. Both served as common benchmarks for normalization. The paper also describes Chinese work that gathered formal and informal pairs from webpages and a separate project that used crowdsourcing to annotate Sina Weibo posts. These examples show several ways the field had made informal writing available for comparison. Lexical Normalisation of Short Text Messages and the Shared Tasks of the 2015 Workshop on Noisy User-generated Text document the English precedents.

The BQNC design brings together three needs raised by these earlier efforts. The underlying writing should remain recoverable, the word boundaries should follow a convention already used in representative Japanese corpora, and the annotation should support comparisons by phenomenon. The authors chose the Balanced Corpus of Contemporary Written Japanese, abbreviated BCCWJ, because it preserves the sentences and provides an established annotation framework. They used its blog and Q&A registers to find the particular kinds of writing they wanted to study. The resulting task is defined around the same occurrences of words, from their actual characters to their grammatical analyses and accepted spellings.

The method, step by step

Assemble the sentences and establish the word boundaries

The authors started with the non-core data in the BCCWJ’s blog and Q&A registers. The texts supplying the sentences came from posts published between 2004 and 2009. The sentences were selected by hand, with preference given to passages that appeared to contain a non-general word or an unconventional form. A passage could qualify because it contained a possible emoticon, because a familiar word had an unusual spelling, or because it presented several phenomena together. This selection helps put enough difficult occurrences into a relatively small collection for the category analyses to be informative.

Building the BQNC reference from BCCWJ sentences

The steps in order.

Building the BQNC reference from BCCWJ sentencesStep 1: Select sentences with likely informal forms1. Select sentences with likely informal formsStep 2: Check the inherited boundaries and grammatical analyses2. Check the inherited boundaries and grammatical analysesStep 3: Label vocabulary classes and kinds of variation3. Label vocabulary classes and kinds of variationStep 4: Record acceptable spellings for non-standard tokens4. Record acceptable spellings for non-standard tokensStep 5: Recheck the tokens and settle annotation decisions5. Recheck the tokens and settle annotation decisions

The source sentences in the non-core data already had automatically generated analyses. The first author checked the sentences by hand using the BCCWJ guidelines and UniDic, the electronic dictionary used to build corpora at Japan’s National Institute for Japanese Language and Linguistics. The word convention is the institute’s short unit word, abbreviated SUW. That convention defines what counts as a word for this evaluation. The author used it to check whether the boundaries inherited from the automatic analysis were appropriate and to correct them where necessary. It is also the convention used in manually annotated BCCWJ material, which gives the review an established point of comparison.

The first pass covered the grammatical details as well as the spans. A token is an occurrence of a word at a particular point in the text. The review covered six attributes: part of speech, conjugation type and form, pronunciation, and the lemma and its identifier. Conjugation type identifies an inflectional pattern. Conjugation form specifies the realization in that particular occurrence. The pronunciation describes how the form is read, and the identifier connects the headword to its dictionary record. These layers of linguistic annotation make it possible to describe an informal token precisely even when its written characters differ from the ordinary spelling.

During that pass the annotator also added the BQNC-specific information. For vocabulary, the question was whether the token belonged to one of the marked classes. For spelling, it was whether the observed form fell under the criteria for a non-standard variant and should have a conventional target. The judgments can be made on the same token for different reasons. In the paper’s example, ニホン is a name for Japan written in katakana. The name label identifies what sort of word it is. The script-variant label identifies the relation between that occurrence and the conventional kanji spelling 日本.

The first author then went back through the material from the initial pass and rechecked every token. The authors used this stage to settle their definitions of vocabulary types and variant types, and to finalize which written forms were accepted for each word. It matters that this review includes ordinary occurrences as well as conspicuous variants. A rule that treats an unusual spelling as a single word can also affect the analysis of its neighbors. The reference needs coherent boundaries over the entire sentence to reveal those effects.

The resulting corpus is organized around sentence identifiers and annotations. The authors describe releasing the BQNC annotations so that people with access to the BCCWJ can reconstruct the full data from the corresponding source sentences. The sentence identifier supplies the connection to the original writing, while the BQNC annotation supplies the checked spans, the word attributes, and the information about variation. This arrangement addresses the recoverability problem that the authors found with datasets distributed through links to individual posts.

Decide which vocabulary distinctions to record

General words are the default in a scheme with seven marked vocabulary classes. The authors distinguish recent or slang vocabulary, names, onomatopoeia, interjections, dialect vocabulary, foreign words, and emoticons or ASCII art. These are classes in which new expressions can be coined or introduced. Some can have completely ordinary spellings. When such a word causes an analyzer trouble, the relevant information may be that the expression belongs to a class poorly represented in its vocabulary. The spelling annotations can separately identify any departures from conventional usage.

For neologisms and slang, the criterion combines collective use with a historical frequency test. The annotator used Chunagon, an application for looking up occurrences in the BCCWJ. The word needed a frequency below five before 2000 and above ten from 2000 onward. Growing use in the corpus gave the annotator a stated basis for assigning the label. コピペ, an expression for copying and pasting, illustrates the category. The distinction is useful for an analyzer because an expression can be well established among writers even if the analyzer is unfamiliar with it.

The proper-name class follows the BCCWJ treatment of single-word names of people, places, organizations, products, and similar entities. The authors extend the category to abbreviated names. ドラクエ, the shortened name of Dragon Quest, is their example. The name class is attached to the word as segmented under SUW. Knowing that an entire phrase names something would therefore be insufficient by itself to decide which spans to annotate as name tokens. Conversely, knowing that a name is shortened allows the annotator to retain the name label under the BQNC convention.

The term onomatopoeia has a broad sense in the paper. It covers words that evoke an appearance or manner as well as words that imitate sounds. キラキラ, which evokes glittering, illustrates why the class extends beyond direct imitation of a noise. The annotator consulted a Japanese dictionary of such expressions and followed the BCCWJ guidance for deciding which members share a headword. That latter decision has a consequence for normalization. If an alteration places an expression under a different lemma, a system that reduces it to the other form may have crossed a boundary the reference was constructed to preserve.

Interjections are identified by grammatical category. Some idiomatic greetings registered as single words in UniDic have defined standard spellings. The authors leave the standard-form question open for other interjections that express reactions or feelings. A reaction like うわあ can therefore have an annotated span and grammatical category without having a preferred form for normalization. That distinction allows the benchmark to evaluate recognition of the expression even when the annotator has assigned no conventional target for its written realization.

A word from another language is marked as foreign when it is written in that language’s script. For example, the word plastic written in Latin letters can receive the label. The usage corresponding to プラスチック is treated as a general word under the annotation rule for loanwords written in Japanese script. The paper also excludes upper-case English acronyms and abbreviations such as SNS from the foreign category because this spelling is customary in Japanese text. The rules make the class sensitive to how an expression occurs in the sentence as well as to its origin.

The authors identified dialect vocabulary using a Japanese dialect dictionary. An expression qualified if it was an entry or appeared in an example in that dictionary. The paper illustrates the category with ほんま, meaning “truly.” The normalization task excludes replacement of dialect words with their counterparts in standard Japanese. The reference thus uses the dialect label to describe vocabulary that the analyzer should recognize. It does not ask for a different word that would play a comparable role in another variety of Japanese.

Emoticons and ASCII art convey reactions or attitudes by arranging written characters into visual expressions. They raise a different boundary problem because several elements can contribute to the same depiction. The BCCWJ guidelines lacked explicit instructions for splitting these forms, so the annotator used entries in UniDic as a guide. The paper gives the example of a face surrounded by characters that suggest body parts. The face and the outer characters can receive separate word spans, and the pieces still carry the emoticon label. Finding the expressive material and splitting it in accordance with the convention are both observable decisions.

The general category is the remainder under these definitions. The authors also put a few archaic words and unusual sentence-final particles there. A general word can still have a spelling variant, and an expression assigned a marked vocabulary label can have an ordinary written form. This arrangement is important for reading the results. It lets the researchers examine recognition of an expression such as an emoticon even when it has no normalization target, while still counting an altered spelling of an everyday adjective among the cases that require normalization.

Use corpus frequencies to establish conventional spellings

A particular lemma can have multiple written forms that are routine enough to accept. To choose conventional forms, the authors looked in the BCCWJ at occurrences belonging to the same lemma. A written form could qualify as standard if its share of those occurrences was approximately 10% or higher. Comparing forms within a lemma makes the criterion relative to the alternatives for the same word. The overall frequency of the word and the relative frequency of its spellings serve different roles.

The example is 面白い, meaning “interesting” or “funny.” The authors report 7.9K occurrences of the lemma in the BCCWJ. The spelling 面白い accounts for 72% of them and おもしろい for 27%. Either can therefore be a normalization target under the frequency criterion. There are also rare forms, including オモシロイ and オモシロい, that the authors classify as non-standard character type variants. A system that encounters one of those variants gets credit for proposing either of the accepted forms, so the benchmark does not make it guess which ordinary spelling the annotator personally would prefer.

For character type variants, the authors judge script alternatives to be non-standard when their occurrence rates in the BCCWJ are roughly 5% or less. They consider kanji and kana alternatives for native and Sino-Japanese words, and hiragana and katakana alternatives for loanwords. Case differences in renderings of English abbreviations can also qualify for examination. The class combines a description of the change with a judgment about usage. For example, カワイイ uses katakana for a word that the reference can normalize to かわいい or 可愛い. The fact that those scripts differ explains the type of variant. The relative frequencies help decide which spellings to accept as conventional.

The standard-form and character type criteria are described as approximate. The paper gives them as evidence for annotation decisions, together with linguistic definitions and examples. It does not provide a mechanical rule for settling the status of any possible spelling from its frequency alone. The source corpus supplies observed usage. The annotator still needs to establish that the spellings in question correspond to the same word and that the difference belongs to the relevant category.

Describe the change from the ordinary form

Alternative representations preserve pronunciation while changing the way that pronunciation is written. Small and full-size kana can be exchanged in certain words, as in 大きぃ for 大きい, meaning “big.” A writer may use a symbol to represent a long vowel that would typically be written with kana. The category also covers historical kana usage, unusual spellings of loanwords in katakana, and cases where a Latin letter or other symbol supplies a sound or resembles a kana character. The authors apply a similarly low BCCWJ frequency criterion when deciding that a katakana sequence in a loanword is unusual.

These alternatives can look quite different from one another. 思ふ for 思う belongs to the group because it is a historical spelling of the same word. The visually conspicuous かわE can also belong to the group because the final character is used to represent part of the ordinary pronunciation of かわいい. The label tells a researcher that the annotator identified the same reading across the two forms. Which kind of substitution produced the spelling remains relevant when deciding whether a given analyzer is equipped to recover it.

Sound change variants have a different pronunciation from their conventional counterparts. A writer can insert or remove a mora, a unit of timing used in the paper’s descriptions of Japanese, or replace a character or mora. Among the relevant characters are the length mark ー, the small っ used for a lengthened consonant, and ん, the moraic nasal. The spelling 強ーい, for example, adds length to 強い, “strong.” A shortened form such as くさ can omit material from くさい, “stinking.” A form such as っす for the polite copula です involves a different sound sequence. The label covers all of these because the pronunciation changes, even though the transformations are quite different.

The distinction between alternative representations and sound change variants depends on the relationship between the form and its ordinary reading. Seeing a long sound mark in an input is insufficient to settle that relationship. The character can take the place of a vowel already present in the usual pronunciation, or it can represent extra duration. This helps explain why rules based on the same visible characters can reach some cases in both categories. The categories describe the resulting linguistic relationship, while the rules operate on recurring forms in the written sequence.

Typographical errors include problems in entering characters, mistakes arising in the conversion from kana to kanji, and spellings attributed to a writer’s misunderstanding. In the paper’s examples, つたい is interpreted as a mistyped form of つらい, “tough,” and そr as an erroneous form of それ. The appearance of a Latin letter gives very different evidence in the latter example than it does in かわE. The annotation reflects the role attributed to the character in its occurrence. The same alphabet can supply a meaningful sound substitution in one example and be part of an input mistake in another.

The labels also allow the paper to discuss combinations. A single occurrence can involve a rare script and a change in pronunciation. An unusual spelling can combine historical kana with a length mark. The reference can characterize the whole relation between input and conventional form even when a system accounts for only part of it. That is central to evaluating derivation rules. A system can recognize a feature it knows how to undo and still need another kind of evidence to propose a valid target.

Associate an observed token with its acceptable forms

For a non-standard occurrence the authors record an identifier that points to its accepted forms. The paper gives the identifier in this format.

[lemma ID]:lemma

Square brackets enclose placeholders for values. lemma ID is the dictionary identifier and lemma is the headword. The colon separates those fields. Parentheses indicate the optional portion of the format. Inside it, the underscore precedes pronunciation, which specifies the reading when that extra information is used. The completed identifier refers to a set of acceptable surface spellings.

The adjective “good” illustrates why both the headword and the form in context matter. In an example about a good song, the token イイ is linked to a set that includes 良い, よい, and いい. In a separate example for “It was good,” the word boundary falls between ヨカッ and the following past marker タ. The target set for ヨカッ includes 良かっ and よかっ. The past marker has its own form, た. This treatment preserves the analysis of the sentence as well as restoring ordinary spellings. Substituting the adjective’s dictionary headword for its inflected occurrence would lose the form that the annotation is designed to recover.

The target set also makes it possible to evaluate spelling without requiring all systems to follow the same stylistic preference. The examiner checks whether the output for the occurrence is one of the accepted alternatives. The boundary and grammatical label are observable separately. In particular, a candidate can cover the intended word and contain phonetic information that looks reasonable, but the proposed spelling can still fall outside the set. The experiments use that distinction to show how much of an apparent recovery is actually complete.

Give the analyzer more candidates

MeCab is the baseline. The authors use MeCab 0.996 with UniDicMA, specifically unidic-cwj-2.3.0. The dictionary contains attributes for 873K words and supplies costs derived from annotated corpora, including the BCCWJ. An occurrence cost concerns a proposed word analysis, and a transition cost concerns how analyses fit next to each other. These costs are the information the analyzer uses to choose among possible sequences of words.

The word lattice is a representation of those possible sequences. A node is a candidate analysis for a stretch of the input. A path through the lattice covers the sentence with a particular sequence of such candidates. Several paths can cover the same characters with different boundaries or different grammatical interpretations. If the lattice lacks a candidate for an entire informal word, the analyzer may have to cover the same stretch with other nodes, including fragments. Adding a candidate changes which paths are available and can change the analysis of the characters around that candidate.

The extension is the authors’ implementation of rules from Sasano and colleagues’ joint approach to morphological analysis and normalization. The original implementation extended JUMAN and used its grammatical tags. The BQNC experiments apply the rules within MeCab and UniDicMA. This lets the authors compare their rule-augmented system to the baseline under the short unit word convention. The rules propose possible new nodes for a character sequence in the input. The new nodes still compete with other analyses for those characters.

One rule family concerns sequential voicing, called rendaku. Other rules permit substitutions involving long sound marks and small kana, or insertions of those characters. The paper gives 冷たぁぁい as a form for which the insertion rules can add an analysis related to 冷たい, “cold.” Taking the whole altered spelling as a possible word makes a boundary recovery possible. Connecting the candidate to the known conventional form also supplies a normalization proposal.

Other rules propose candidates for sound-symbolic expressions. The paper describes repetitive and non-repetitive shapes with the following patterns.

XYXY

X and Y each stand for kana corresponding to a mora. Repetition of a letter means reuse of the same kana material in those positions. The pattern proposes an analysis in which the sequence represented by XY occurs again. The paper gives うはうは as a match for which the rules can offer an onomatopoeic adverb reading.

XQYri

X and Y again represent mora-sized kana material. Q stands for っ or ッ, the small kana used for a lengthened consonant. ri stands for り or リ. This pattern can propose a sound-symbolic word when those parts appear together in the stated order.

XXQto

X again stands for kana representing a mora, and its repetition means the same material occurs in both positions. Q again denotes っ or ッ. to stands for と or ト. This is another of the candidate shapes that can add an analysis to the lattice.

Higashiyama and colleagues assign costs for new candidates using information already in the analyzer. For variant nodes, they copy the costs of the corresponding standard forms. For onomatopoeia, they use the most frequent costs for the same form. The original approach used manually chosen costs for types of newly added words. In the BQNC implementation, the analyzer chooses among paths using the existing candidates and costs together with the newly proposed ones. The paper calls the extended configuration MeCab+ER, with ER standing for Extension Rules. Both configurations are run without additional parameter training.

Experiments and results

Read the scores against the contents of the corpus

The Q&A part of BQNC contains 379 sentences and 5,649 word tokens. It includes 320 non-standard tokens. The blog part has 550 sentences and 6,951 word tokens, of which 447 are non-standard. Together the registers contain 929 sentences and 12,600 tokens, including 767 non-standard occurrences. The corpus also contains 3,419 word types and 420 non-standard word types. A type count describes how many distinct items the corpus records, while a token count describes how many occurrences it contains. Token evaluation gives the analyzer a new decision each time an item occurs in a sentence.

The two registers contribute different numbers of types as well as different numbers of occurrences. In the Q&A data the paper reports 1,699 word types and 221 non-standard types. In the blogs it reports 2,231 word types and 257 non-standard types. These counts describe the material in each register. The main system comparison pools the sentences, and the category results look across the benchmark at tokens bearing a given label. The register statistics give the composition of the input used for these results.

The support for a category is the number of reference occurrences carrying its label. Among spelling variants, 419 occurrences have the sound change label, 248 have the character type label, 132 have the alternative representation label, and 23 have the typo label. A form that has undergone more than one kind of change can be represented under more than one label. The category counts are consequently useful for reading the corresponding recall figures. The total of 767 instead counts the annotated non-standard tokens in the corpus.

Vocabulary classes likewise vary in size. There are 270 emoticon or ASCII-art tokens, 218 onomatopoeic tokens, and 174 interjections. The proper-name category has 103 occurrences. There are 37 tokens of neologism or slang, 23 dialect tokens, and 14 foreign-word tokens. A result for a small vocabulary class can describe what happened on those occurrences, with limited evidence about the breadth of the analyzer’s coverage. The larger categories contain more examples over which to observe the effects of the rules and their possible side effects.

The authors compare the amount of annotated variation with that in previous Japanese Twitter corpora. The collection by Kaji and Kitsuregawa contains 1,831 sentences, 14.3K tokens, and 793 non-standard tokens. Osaki and colleagues’ corpus has 1,405 sentences, 19.2K tokens, and 768 non-standard tokens. The numbers of non-standard occurrences are similar to BQNC’s. The annotation conventions differ. The former uses the JUMAN grammatical tags, and the latter uses an extension of the short unit word convention devised by its authors. The comparison puts the quantity of annotated material in context. All of the analyzer scores that follow are on BQNC.

Boundary and grammatical results

The authors report precision, recall, and F1. Precision asks how many predicted items meet the reference. Recall asks how many reference items the system recovers. On segmentation the relevant success is a predicted span that begins and ends at the annotated boundaries. A system can recover many of the annotated words and still have poor precision if it also offers wrong spans. F1 rewards configurations that do well on both parts of the measure.

The grammar evaluation uses top-level parts of speech. The analyzer must provide the grammatical category for the word span, so identifying the right boundaries opens the possibility of a correct tag. Knowing how frequently the spans match and how frequently the full tagged items match helps explain what the analyzer recovered. These scores use the broad labels. The corpus also records finer grammatical and lexical attributes, which are useful as annotations even though the reported tagging experiment focuses on the top level.

On BQNC, the baseline MeCab reaches segmentation precision of 89.2% and recall of 95.1%, with F1 of 92.1. MeCab+ER reaches precision of 93.5% and recall of 96.5%, with F1 of 95.0. Both sides of the score improve with the extension. This is consistent with the intended operation of the rules. Supplying a span for an entire informal word can recover a reference item and remove predicted fragments that would otherwise contribute errors. The error analysis later shows examples of that change and of movement in the opposite direction.

Segmentation F1 for MeCab and MeCab+ER on BQNC

The added candidates improve segmentation across the full corpus.

Segmentation F1 for MeCab and MeCab+ER on BQNCMeCab: 92.1MeCab92.1MeCab+ER (this paper): 95.0MeCab+ER (this paper)95.0
The numbers
System or settingF1
MeCab92.1
MeCab+ER (this paper)95.0

Top-level tagging moves in the same direction overall. MeCab achieves precision of 87.5% and recall of 93.3%, for F1 of 90.3. MeCab+ER has precision of 91.4% and recall of 94.3%, for F1 of 92.8. The paper reports gains of 2.5–2.9 F1 points across the segmentation and tagging comparisons. The extension can offer a grammatical interpretation along with a newly available span. The overall tagging score reflects the combined effect of such changes across the corpus.

Top-level part-of-speech tagging F1 for MeCab and MeCab+ER on BQNC

The extension improves the overall match to the reference grammatical tags.

Top-level part-of-speech tagging F1 for MeCab and MeCab+ER on BQNCMeCab: 90.3MeCab90.3MeCab+ER (this paper): 92.8MeCab+ER (this paper)92.8
The numbers
System or settingF1
MeCab90.3
MeCab+ER (this paper)92.8

For context, the authors cite the 98–99% F1 achieved for boundaries and tagging in the news-domain experiments of Kudo and colleagues. That range belongs to the earlier work. It provides a point of reference for why the authors describe user-generated writing as difficult, while the paired results on BQNC show what the added rules do on the same inputs. The distinction matters because performance on different material can depend on the domain and on the definition of the scored item as well as on the analyzer.

The paper also groups the reference tokens that are non-general or have non-standard forms. This gives a view of the material specifically targeted by the benchmark. The micro-average pools occurrences, so frequent phenomena have more influence than rare ones. For that group, MeCab’s segmentation recall is 68.9% and its tagging recall is 61.9%. MeCab+ER reaches 79.6% segmentation recall and 70.4% tagging recall. Both configurations perform much better on general words in standard forms. An aggregate score over all words can thus be high even while many of the forms selected for diagnostic purposes remain difficult.

Recovery of conventional written forms

For normalization, a prediction is correct when the proposed spelling agrees with an accepted reference form for the word. The paper reports this task for MeCab+ER. Its precision is 55.9%, its recall is 25.8%, and its F1 is 35.3 on BQNC. The baseline has no reported normalization score. The boundary and tagging comparisons can therefore show a gain over MeCab, while the normalization results describe how much of the annotated spelling task the extension accomplishes.

The recall figures are markedly different across variant types. Sound change variants have normalization recall of 37.0%. The recall for alternative representations is 32.6%. Character type variants and typographical errors both have recall of 0.0%. The outcomes fit the coverage of the extension, which specifically addresses several recurring kana and length-mark patterns. The paper attributes the failures on script variation and typos to forms outside the derivations and to irregular errors. A gain in boundary recognition for a category can coexist with zero successful normalizations for that category.

MeCab+ER normalization recall across BQNC spelling categories

The extension recovers some variants involving sound changes or equivalent spellings, with sound changes recovered most often.

MeCab+ER normalization recall across BQNC spelling categoriesSound change variants (this paper): 37.0Sound change variants (this paper)37.0Alternative representations: 32.6Alternative representations32.6Character type variants: 0.0Character type variants0.0Typographical errors: 0.0Typographical errors0.0
The numbers
System or settingRecall %
Sound change variants (this paper)37.0
Alternative representations32.6
Character type variants0.0
Typographical errors0.0

The authors use counts to show where the limited recall comes from. There are 767 annotated normalization targets, and the extension correctly normalizes 198. The remaining 569 are false negatives, reference occurrences for which the analysis supplies no accepted normalization. The system makes 354 predictions of normalized forms, of which 156 are false positives. A false positive is an output that the reference cannot credit. One wrong proposal can matter on both sides of the evaluation when an accepted form goes unrecovered and an unacceptable form is predicted in its place.

The paper further separates these errors by boundary correctness. Of the missed reference targets, 58 have correct segmentation and 511 have incorrect segmentation. Of the false positive predictions, 99 have correct segmentation and 57 have incorrect segmentation. These counts use different starting points. The false negatives are classified from the reference targets the system missed, while the false positives are classified from its predictions. In particular, the large set of missed targets with incorrect segmentation shows how frequently the analysis has already gone wrong by the time an accepted form would have to be supplied. The errors on correct spans show what better boundaries would still leave to solve.

What the ablations show

What changes when the rule set is switched on

The paper gives no ablation of individual rules. Its controlled comparison adds the complete extension to MeCab and leaves the underlying dictionary and learned parameters in place. That measures the effect of the rules together with their method of assigning costs to new candidates. The category results show where the change in the lattice makes the greatest difference. The token-level examples show which kind of candidate made a useful analysis possible and which kinds sometimes displaced an existing correct analysis.

The clearest change among the spelling categories is in sound change variants. On the 419 occurrences in that category, segmentation recall is 50.6% for MeCab and 82.6% for MeCab+ER. Top-level tagging recall is 47.5% and 76.4%, respectively. In this category a spelling that departs from the ordinary pronunciation can sometimes remain close enough to a known form for an insertion or substitution rule to propose the whole word. That candidate makes the desired span available, often with a plausible grammatical interpretation. The category’s normalization recall of 37.0% on the same material gives a separate measure of how often the system also supplies a valid spelling.

For the 132 alternative representations, MeCab’s boundary recall is 65.2% and MeCab+ER’s is 76.5%. The corresponding recalls for grammatical tags are 54.6% and 69.0%. Changes involving small kana fall within this category in some contexts and are directly addressed by the extension. Other members of the category rely on historical spelling or letters that stand in for kana. The classification groups these phenomena by their effect on pronunciation, so the category score includes cases with very different relationships to the written patterns used by the rules.

The results for character type variants highlight the distinction between identifying a word and recovering its standard written form. Of the 248 occurrences in this category, the baseline recognizes the span of 71.0%, while the extension recognizes 78.2%. Top-level tagging recall rises from 62.9% to 69.4%. Normalization recall is 0.0%. As the baseball example below shows, a derivation can make the word’s boundaries visible by accounting for a feature of its sound or its kana spelling. Completing the normalization may still require recovering a kanji form that the rule never proposes.

The two configurations give the same recall on the 23 annotated typos. They reach 47.8% for the boundaries and 30.4% for the tags. In foreign words, the 14 occurrences yield 78.6% recall for both measures with either configuration. Boundary and tag recall on the 37 neologism or slang occurrences are both 67.6% with either configuration. The extension is directed at certain derivations and certain expressive word shapes. These categories show parts of the benchmark where giving the analyzer those particular options does not lead to better recognition.

The vocabulary results are more mixed where the rules frequently add candidates. For the 218 instances of onomatopoeia, segmentation recall rises from 79.8% with MeCab to 87.2% with MeCab+ER. Top-level tagging recall rises from 73.4% to 77.1%. For the 174 interjections, boundary recall rises from 64.9% to 72.4%, while tagging recall falls from 53.5% to 48.9%. A more permissive lattice can make a complete span available with a grammatical interpretation that conflicts with the reference. The authors also suggest that interjections are diverse in their realizations, including written imitations of laughter, crying, and screaming, which helps explain why tagging was difficult for both configurations.

Dialect words give a different illustration of coverage. The authors report that UniDicMA contains 19 out of 23 dialect tokens in the benchmark. They offer this as a likely reason for the relatively high boundary recall in that class. The baseline reaches 91.3% for segmentation, and the extended configuration reaches 95.7%. The higher coverage here can be read alongside the examples of expressions that neither configuration recognizes. Whether the vocabulary is represented in the dictionary can matter even when the overall purpose of the comparison is to study rules for unfamiliar forms.

New spans can repair splits or create merges

The authors compare the analyzers’ segmentation decisions for each annotated reference word. They find 11,955 words correctly segmented by both, 200 recovered only by MeCab+ER, 32 recovered only by MeCab, and 413 missed by both. This comparison brings out changes that aggregate precision and recall can hide. It distinguishes occurrences on which the extended analysis restores the intended span from occurrences where the new choices make the selected boundaries worse. The counts are for reference words, so they describe what happens to each gold span even when an analysis produces several predictions for the characters it contains.

Of the 32 cases where only the baseline finds the correct word boundaries, 18 involve erroneous analyses as onomatopoeia by MeCab+ER. One example consists of はっ followed by たり in the reference. The extension joins the pieces as はったり after proposing a candidate with a non-repetitive onomatopoeic shape. The sequence really does have the necessary pieces for the shape rule. In that sentence, the reference analyzes the pieces as part of a verb phrase with separate spans. The new candidate gives the system another explanation for the character sequence, and the system selects it at the expense of the reference analysis.

The repeated sequence こら followed by こら produces a parallel error with the repetitive rule. Each こら is an interjection in the reference. Together the characters match the repeated shape that can trigger an onomatopoeic candidate, and MeCab+ER takes the two as a single word. Repetition provides real evidence about how the characters are arranged and weak evidence about which grammatical analysis applies in this context. The example shows why measuring a rule by the forms it can generate would miss an important consequence of inserting those forms into a lattice.

The 200 spans correctly segmented only by MeCab+ER include 119 that it also normalizes correctly. It incorrectly normalizes 42 of those recovered spans, and 39 have no normalization requirement. One of the complete recoveries is しーかーも, which the baseline splits into fragments. The extension analyzes the sequence as a word and proposes the expected しかも. In ぉぃら, small kana cause trouble for the baseline. The extended analyzer treats the input as one span and produces おいら, one of the accepted forms. The two examples show why the same kind of candidate mechanism can help with changes in sound and with spellings that have the same pronunciation as the target.

The paper also shows boundary recovery without an accepted spelling. With んまぃ, MeCab+ER identifies the whole form and writes んまい as its normalization. That resolves the small kana, while the reference accepts forms such as うまい and the analysis has left the initial sound change unresolved. In the baseball example the extended system correctly separates も and やきゅー. It proposes やきゅう for the second word, where the annotated answer is 野球. The analyst can see a meaningful improvement over the baseline’s split and still count the conventional spelling as unrecovered.

Adding a correct span can also help on a word for which the reference has no spelling task. In the paper’s example ふぅ〜〜ん, the extension retains the complete interjection as a span, in contrast to the baseline’s splits. It also proposes a shorter form. The reference can credit the improved boundary and evaluate the extra normalization according to its policy on interjections. This is one reason the group of spans recovered by the extension includes both tasks and why boundary successes should be interpreted separately from normalization successes.

Some forms remain outside both analyses

Among the 413 reference words that neither system segments correctly, the paper identifies 148 as complicated variants. In ませう〜, for example, historical kana and an added length mark occur together. The conventional target is ましょう. In けこーん, the annotation involves both a change in script and a change in pronunciation, with 結婚 as the target. The rules may propose analyses for pieces of the input even when they have no suitable candidate for the whole reference word. A plausible proposal for a fragment cannot satisfy the reference for the complete span.

The Latin-letter sequence ne in ください followed by ne illustrates a further obstacle. The reference recognizes the written sequence as the particle ね in that context. Both analyzers divide the two letters. The intended relation is clear from the example once the reference is known, but the implemented changes involving small kana and length marks give the analyzer little basis for recognizing it. Cases like this broaden the diagnosis beyond variants that combine several edits. Some use a kind of substitution that is simply outside the extension’s inventory.

The authors attribute the remaining 265 cases in this group to other unknown words, including emoticons, slang, and names. Both configurations split 社割, an abbreviation for an employee discount. Both divide the fictional place name ガルバディア into pieces. The paper also shows a face made of punctuation and other symbols that both systems divide into individual characters. These cases demand evidence that the entire expression, or the parts prescribed by the annotation convention, should be recognized as a unit. Systematic adjustments to the spelling of an existing entry address only some of the reasons a lattice can lack the right word.

The reference determines which edits count

Some false positive normalizations are understandable as edits to informal text. MeCab+ER proposes おお in place of おお〜 and サラサラ in place of サラサラ〜. Both operations remove a length mark from an expressive form. The paper counts the first as an error because reaction interjections of this kind have no designated normalization target. The second is an error because the BCCWJ convention distinguishes the lengthened and unlengthened sound-symbolic forms as separate lemmas. The proposals therefore conflict with the reference for different reasons in spite of making a similar visible change.

The examples clarify what normalization precision measures. Some proposals fail because they identify the wrong word or restore the wrong spelling. Others produce an edit a reader could understand but treat a distinction differently from the benchmark. The reference applies the same criteria in every evaluation. Showing the proposals alongside those criteria lets readers trace why an edit contributes to the score. It also helps explain why most of the missed targets with wrong spans and the false positive proposals on correct spans call for different diagnoses. Better word recognition can address the former, while better decisions about the form and its eligibility matter for the latter.

Limitations

Limits and boundaries stated by the authors

The authors describe the tested approach as having limited coverage of normalization. The derivation rules work on recurring patterns, and the examples establish that they can produce fully correct analyses of some occurrences. Complex variants and unknown words remain the main difficulties highlighted by the error analysis. The authors suggest that systems could draw on larger quantities of raw text to discover candidate variants and use dictionaries specialized for particular vocabulary classes. The paper treats these as directions for development. Its experiments evaluate the baseline and the stated rule extension.

The authors plan to annotate 5–10 times more sentences for more precise evaluation. Several categories have small numbers of occurrences in the current corpus, including dialect vocabulary, foreign words, slang, and typographical errors. Adding material would provide a broader basis for comparisons within those categories. The other future aim is a joint approach to analysis and normalization with wider coverage. The authors’ diagnosis points to the need for such coverage in both word identification and recovery of acceptable written forms.

The authors also place explicit boundaries around what the reference asks analyzers to do. Mapping a dialect word to a word in standard Japanese falls outside the task. Most reaction interjections are left without standard-form targets. For some sound-symbolic expressions, the guidelines treat a change in length as a change of lemma. The grammatical scores concern top-level parts of speech. A user interested in other annotation decisions, such as the full conjugation description or the pronunciation, can find those attributes in the corpus, but the reported evaluation leaves their prediction quality open.

The full data are restorable by users with access to the original BCCWJ sentences. The annotations and identifiers make that reconstruction possible and address the problem of individual posts disappearing. The preservation of the source is itself part of the design. Use of the benchmark still depends on obtaining the relevant BCCWJ material, since the reconstruction procedure relies on the original writing as well as the newly released annotation.

Limits that follow from the experimental setup

The manual selection of sentences makes difficult phenomena easier to study. It also constrains what the observed frequencies mean. The totals describe a collection selected in favor of likely non-general words and unconventional spellings. They provide no direct estimate of how often those phenomena occur across all blogs or Q&A posts in the BCCWJ. The underlying posts span 2004 to 2009, and the benchmark covers the writing selected from those registers. A claim about system performance on later writing, other platforms, or naturally sampled posts would require evidence from those settings.

The reference is based on the way the authors operationalize conventional writing. Frequencies in the BCCWJ inform which spellings are accepted, and the lemma conventions determine which expressions are considered instances of the same word. The allowance for several targets makes the criterion less dependent on one preferred script. Its judgments remain tied to the reference corpus and linguistic guidelines. An application intended to preserve expressive length, or one intended to paraphrase dialect into standard Japanese, would ask different questions of the same input. The scores give evidence about conformance to this benchmark’s decisions.

The annotation was reviewed twice by the same person. The second pass gives the annotator a chance to revisit difficult boundaries and establish consistency across examples. The procedure supplies no independent measure of agreement among annotators. That is relevant where the criteria require an interpretation of a writer’s intentions, as when an unexpected character could be an intentional sound substitution or an input mistake. It also matters for unfamiliar visual expressions whose grouping is difficult to settle. The paper gives criteria and examples that make these judgments inspectable, while reproducibility across annotators remains unmeasured.

The rule comparison supports conclusions about the particular MeCab adaptation. Because the experiment applies the extension as a group, it cannot attribute the overall improvements to one rule family or determine how much the chosen costs contribute. The examples identify plausible mechanisms for particular cases, such as a repetition rule supplying an erroneous span. They leave open what the total scores would be if that rule were removed, if its costs were changed, or if several rules interacted differently. The use of the existing UniDicMA costs is part of the evaluated system.

The paper states that the inherited parameters were learned from annotated corpora that include the BCCWJ. Its description leaves sentence-level overlap between the material used to learn those parameters and the BQNC evaluation unresolved. The absence of additional training establishes that neither configuration was fitted anew for this comparison. It does not establish a training and evaluation separation at the sentence level. The matched comparison still shows how adding candidates changes the outcome with the same inherited analyzer and dictionary.

Finally, the normalization breakdown establishes where the observed errors occur and which spans are involved. It does not measure the normalization score with reference boundaries supplied as input. Many target words are missed on spans with incorrect boundaries, but an experiment that fixed those boundaries would still need to show how often the system could recover a valid written form for them. The baseball example demonstrates the distinction concretely. Once the correct span is available, the analyzer needs further evidence to move from a plausible kana form to the accepted kanji spelling.

What came after

There is no documented later study here that establishes how another group used or extended BQNC. The next steps that can be attributed to the authors are the ones they describe at the end of the paper. They intended to enlarge the annotation effort to support more precise comparisons and to develop a joint analyzer that handles a broader range of informal forms. The discussion connects those goals to the observed failures. Extracting variant pairs from unannotated Japanese writing could supply candidates beyond the hand-written rules, and specialized dictionaries could make unfamiliar classes of words easier to recognize. These were proposed responses to the benchmark findings. The paper establishes the common reference and the behavior of the two evaluated configurations against it.

Cite

Cite as Shohei Higashiyama, Masao Utiyama, Taro Watanabe and Eiichiro Sumita. 2021. User-Generated Text Corpus for Evaluating Japanese Morphological Analysis and Lexical Normalization. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.naacl-main.438

@inproceedings{higashiyama2021user,
  title = {{User-Generated Text Corpus for Evaluating Japanese Morphological Analysis and Lexical Normalization}},
  author = {Shohei Higashiyama, Masao Utiyama, Taro Watanabe and Eiichiro Sumita},
  booktitle = {Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.438},
  url = {https://doi.org/10.18653/v1/2021.naacl-main.438}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/higashiyama-2021-user-generated-text-corpus-evaluating/