Language Resource Addition: Dictionary or Corpus?
Paper · 2014 · Shinsuke Mori and Graham Neubig
Summary
When a Japanese text contains an unfamiliar expression, a word segmenter has to decide where the expression starts and ends, whether it contains several words, and how it fits with the words around it. A dictionary can give the system a spelling and a grammatical category. An annotated sentence can give it those facts as well as an example of the expression in use. Mori and Neubig ask how much each kind of evidence helps when an analyzer moves from general written Japanese to a specialized domain. They study word boundaries and grammatical labels, the two decisions that make up their task in morphology.
The first experiment adapts two analyzers to Web text from the Balanced Corpus of Contemporary Written Japanese. Both benefit from adding Web vocabulary to their dictionaries. Both do better when they can also learn from fully annotated Web sentences. On the Web test set, word segmentation F-measure rises from 95.20% without adaptation to 96.85% with corpus addition for MeCab, and from 95.54% to 97.15% for KyTea. The dictionary accounts for much of the gain. The extra improvement from sentences includes cases where familiar characters form a different word in Web writing, as well as cases involving forms rarely seen in the general training material. KyTea makes its boundary decisions before assigning grammatical categories through part-of-speech tagging.
The authors then ask how much of a sentence a person needs to annotate. In cooking recipes, they keep the original context around expressions such as ingredient names and mark the boundaries at the edges and inside those expressions. The remaining gaps in the sentence carry no boundary labels. On the recipe test set, KyTea reaches 94.54% segmentation F-measure with the recipe dictionary, 95.56% with contextual annotation capped at one occurrence per expression, and 96.29% when all available occurrences are used. Allowing more occurrences helps, with much smaller gains towards the high end of the range. The experiment gives the authors a reason to favor a small number of varied contexts when annotation time is limited.
They put that choice into practice on invention disclosures. An annotator examines unfamiliar word candidates in three different contexts and corrects their boundary labels where needed. On the disclosure test set, the authors report eliminating 20% of the segmentation errors after 12 hours of annotation. The Web comparison shows the value of sentence context when complete labels are available. The recipe and disclosure experiments show how to retain some of that value while labeling only selected parts of the text.
Deep dive: Language Resource Addition: Dictionary or Corpus?
Mori and Neubig compare dictionary expansion with contextual annotation for adapting Japanese word segmentation and part-of-speech tagging. · about 32 minutes to read
The problem and its context
An analyzer meets a different kind of text
An unsegmented Japanese sentence leaves the analyzer with decisions that are already partly made for a reader of a space-delimited text. The analyzer has to place boundaries within the character string and assign a grammatical category to each resulting unit. The paper calls these units morphemes when describing Japanese morphological analysis and generally calls them words when reporting segmentation. In either terminology, an early boundary decision determines which units are available for tagging. An incorrect cut can turn a noun into fragments that receive their own grammatical labels. Even plausible labels on those fragments leave the intended noun unanalyzed. The boundary task belongs to tokenization and segmentation.
A move between domains changes the evidence for these decisions. A system trained on newspapers or books may encounter a familiar expression in an unfamiliar spelling on the Web. It may also encounter a sequence of characters that the source corpus typically treats as separate units, while the target domain frequently uses it as a single word. The first case can look like missing vocabulary. The second can persist even after the vocabulary is supplied, because the analyzer has already learned to favor another analysis of the same string. Adaptation has to address what the system can identify and what it prefers in context.
The paper treats domain adaptation as a resource choice. One option is to assemble entries for words that the target domain uses. The entries can be reused wherever their strings occur, and substantial dictionaries may already exist for people or software to consult. Another option is to annotate text from the domain. Each example takes more decisions to prepare, but it can show how a word begins and ends in a real sentence and how the neighboring characters affect the analysis. The practical question is how much additional accuracy the context buys, and how much of it has to be labeled to buy that improvement. This is a question about the scope of linguistic annotation.
The authors situate this choice alongside semisupervised training and active learning. As they describe it, these were established lines of work for getting more from available examples or deciding what to label. Their own starting point is that straightforward resource additions are effective enough to deserve a direct comparison. They illustrate the labor involved with an experience of annotating word boundaries in 5,000 sentences in 7 hours × 10 days. That observation concerns a previous annotation experience. The experiments in the paper have their own resources and procedures, including a disclosure study that tracks the effect of annotation time directly.
Why the analyzer’s design could change the answer
One tradition described in the paper searches for the best complete analysis of a sentence. A candidate analysis includes both where the words end and which grammatical labels they take. The system can weigh a word and its tag in relation to nearby tags, so an individual decision can depend on how the entire sequence fits together. The authors take MeCab as their representative of this approach. Its underlying method uses conditional random fields, which are trained over the alternative segmentations of a sentence. The earlier account is Applying Conditional Random Fields to Japanese Morphological Analysis.
The dictionary has a structural role in this kind of search. It is commonly used to build a lattice, a network of candidate words that cover different spans in the character string. Different paths through the network represent different ways of dividing the sentence. A scoring procedure can only choose among the paths made available to it. In the conventional arrangement the paper describes, a position with an available dictionary candidate can limit consideration of unfamiliar strings. The authors mention earlier research that relaxed this kind of restriction, at some cost in decoding speed and complexity. Their comparison concerns the established joint approach they actually tested.
The other tradition divides analysis into a boundary stage and a tagging stage. It asks about the gap between each pair of neighboring characters, then turns the resulting pieces into the inputs to a tagger. The paper connects this organization to earlier research on both Chinese and Japanese. The Chinese study considered choices about whether to operate on characters or words and whether to predict labels together or separately. Its place in the discussion is methodological. The benchmark in Mori and Neubig’s study consists of Japanese text. The earlier study is Chinese Part-of-Speech Tagging: One-at-a-Time or All-at-Once? Word-Based or Character-Based?.
KyTea represents the Japanese pointwise approach. A boundary decision can use the spelling around a gap, the kinds of characters on either side, and evidence that the gap falls near or inside a dictionary word. Its classifier can already learn about gaps from tagged and segmented sentences, even when dictionary evidence is unavailable. That gives the dictionary a different role from the one it has in the joint search. In KyTea, it provides signals for a decision that can still be made from surrounding text. The earlier system is described in Pointwise Prediction for Robust, Adaptable Japanese Morphological Analysis.
These two designs give the authors a reason to test both analyzers. If a dictionary determines which paths can be scored, a new entry can make a correct answer available. If dictionary evidence is an input to a boundary classifier, a new entry can influence a choice that was already possible. The authors expected heavier dictionary dependence in the first design. A common adaptation experiment lets them see whether that structural distinction predicts a difference in the measured benefit of vocabulary expansion.
There is also a question about which parts of an annotated sentence earn their keep. A fully marked sentence specifies the segmentation throughout. If a domain problem clusters around particular expressions, some of the important evidence may lie at a small set of gaps. Around a newly encountered term, an annotation can preserve the characters outside the term while limiting the actual judgments to its edges and internal structure. Earlier work by Neubig and Mori had already developed word-based partial annotation. This paper uses that option to compare contextual and dictionary evidence at a finer granularity than an all-or-nothing choice about whether to label a sentence.
The experiments consequently address resource choices at different levels. The Web study compares the conventional packages a team might add, a larger dictionary or a larger fully annotated training corpus. The recipe study starts from annotations that exist only in selected spans, then varies how many occurrences to retain. The disclosure study starts with raw target text and puts a person in the loop. Each setup is suited to a different question about what the team already has and what it still has to produce.
The method, step by step
From a character string to a tagged analysis
Start with a sentence represented as a string of characters. The complete input and output can be written with the following notation.
x₁ … xᵢ … xᵢ₊₁ … xᵢ₌ᵢ
Here the intended input is the sequence of characters x from its first position through its final position. In the paper’s notation, I is the number of characters and i identifies a position within that string. The corresponding sequence of words is w₁ through wⱼ through wⱼ₌ⱼ, where J is the number of resulting words and j identifies a word position. The associated grammatical labels run over those same word positions, with tⱼ assigned to wⱼ. Word positions depend on the segmentation, so J is determined by the chosen boundaries.
For MeCab, a candidate word occupies a span in the original string and is associated with a possible tag. The analyzer compares complete paths through the lattice, using candidate scores and information about neighboring tags. Paths can contain different numbers of words while still explaining the same input characters. This matters when an apparently simple distinction, such as a noun versus a verb fragment and its ending, changes both the segmentation and the tag sequence. A dictionary expansion can give the correct span a place in the lattice. Its cost and its compatibility with neighboring candidates still affect whether the analyzer chooses it.
KyTea first attaches a boundary label bᵢ to each gap between xᵢ and xᵢ₊₁. The paper represents the decision this way.
bᵢ = 1 if the gap is a word boundary
bᵢ = 0 if the gap is inside a word
The symbol bᵢ is the label for the gap after character position i. The values 1 and 0 mean that the analyzer cuts or joins at that gap, respectively. There are I − 1 such gaps between characters in a sentence of length I. After classification, the cuts divide the input into words. Every resulting wⱼ is then assigned a tag tⱼ chosen from the available grammatical categories.
The boundary classifier uses features, which are measurable properties of a candidate gap and the text surrounding it. Some features describe adjacent characters and short strings of consecutive characters. Others describe short sequences of character types. A sequence of this kind is an n-gram. In the paper’s account, dictionary membership provides another set of features. Because the boundary classifier works on locations in the original character string, it can examine the text around a location before any final word sequence has been decided.
The examples of dictionary features are lₛ, rₛ, and iₛ. The subscript s is the length of a string in characters. The lₛ feature is active when a dictionary string of that length ends immediately to the left of the current gap. The rₛ feature concerns a string of that length starting immediately on the right. The iₛ feature is active when a dictionary word of that length spans the gap internally. An entry can therefore contribute evidence for cutting at its edges and joining within its span. How the classifier weighs the evidence is learned from training examples.
The tagging stage uses a related lookup. The feature dⱼₖ indicates whether the word at position j, wⱼ, appears in the dictionary with the candidate tag tₖ. Here k indexes a candidate grammatical tag. The feature records a pairing between spelling and category. It leaves the classifier free to consider other evidence when a spelling can take different tags. The authors mention logistic regression, support vector machines, and conditional random fields as ways of implementing classification. Their resource comparison uses the analyzers named in the experiments and keeps the focus on what evidence is supplied to them.
Give the analyzers different kinds of target-domain evidence
For the Web experiment, the authors start with a general-domain corpus and dictionary. The unadapted analyzer learns from those resources and is evaluated on held-out Web text. The source and target play different roles. The general corpus supplies the original annotated training evidence. The Web training material provides the words and sentences the authors can add. The Web test split measures how well the resulting analyzer deals with target-domain examples that were held out for evaluation.
The immediate dictionary update, available for MeCab, adds words found in the Web training corpus and assigns costs to the new entries. The authors use the cost associated with infrequent words of the same part of speech. This makes the lookup resource larger while keeping the existing fitted parameters. The setup answers a practical question for a user who can update MeCab’s vocabulary and wants to know what that change buys on its own.
The second dictionary update also adds the Web training words, then re-estimates the weights on the general-domain training data. The analyzer can learn how to use the expanded dictionary from those general-domain examples. The sentences from which the Web entries came remain outside the annotated training corpus in this condition. The new vocabulary and the retained source-domain context can therefore be separated from the effect of giving the learner annotated target sentences.
For corpus addition, the authors construct the dictionary from the general and Web training data and fit the analyzer on the combined annotated corpora. The dictionary remains part of the system, so this condition adds labeled target sentences on top of access to target vocabulary. A comparison with dictionary addition after re-estimation is especially informative here. Both procedures can use the expanded vocabulary and fit their parameters. The corpus-addition condition can also learn from where the Web words occur and how the surrounding text is segmented and tagged.
Keep the context and label selected gaps
The recipe experiment uses the recipe flow graph corpus, abbreviated r-FG. Its annotations identify expressions relevant to cooking and assign them types as recipe named entities. The words within those expressions have also been segmented. An entity span and a word span can differ. The paper’s example for “hot dog” covers an entire cooking entity, and the annotation divides that entity into separate words corresponding to “hot” and “dog.” Likewise, “aluminum foil” supplies component words as well as an outer annotated span. The results concern word boundaries in the recipe sentences. The entity annotations provide the starting spans for the adaptation procedure. Finding and classifying such spans is the subject of named entity recognition.
In the dictionary condition, the authors extract the annotated entities from the recipe training material and collect the words found inside them. A multiword entity can therefore contribute several entries. The dictionary has the spellings that the annotated spans reveal. Their surrounding words, the particular occurrences, and each instance’s boundary context are left behind when the entries are extracted.
In the partial-annotation condition, the authors select occurrences of those entities from the training sentences. They mark a cut on either edge of a selected span wherever there is an adjacent gap to label. Inside the span, they preserve the annotated word divisions and identify gaps that fall within a word. The text around the span stays in the sentence. An unmarked gap there supplies no target label, although neighboring characters can still contribute context to the decision at a marked gap.
The paper illustrates the distinction using a sentence in which the characters for “hot dog” follow a word glossed as “each.” The selected span begins after that preceding material. Its internal split separates the two component words. The right edge separates the entity from the following text. Each gap within a component word receives an explicit join judgment. A nearby gap outside the selected material can be left unknown. Explicit joins matter because the training examples have to teach the analyzer where a span should remain intact as well as where it should split.
This organization fits pointwise learning. KyTea can use the known label at a gap together with the surrounding characters even if some of those characters border gaps whose labels are unknown. The authors restrict the partial-annotation experiments to KyTea because the MeCab system they use cannot train from such corpora. The method therefore depends on which kinds of supervision the analyzer accepts. It is an alternative way of preparing training evidence for a compatible system.
The recipe procedure varies n, the maximum number of occurrences selected for an entity. A cap applies to each entity, while the realized number depends on how many occurrences exist in the training data. An entity that appears less often than the cap can only contribute the occurrences available for it. Changing n alters both the amount of marked material and the opportunity to see an entity in different surroundings. The authors report the cap and the measured average separately so that the reader can tell what contextual exposure actually went into each condition.
Adapting a word segmenter with partial annotation
The steps in order.
Start with raw text when spans are unavailable
In invention disclosures, the starting point is a large raw corpus from the target domain. Here the authors first need to propose strings that might be words. They use a distributional method from earlier research by Mori and Nagao. Distributional similarity compares the kinds of surroundings in which a string occurs with those of established words. A string’s frequency and the evidence that it acts like a word play separate roles in the procedure. The authors combine them through expected frequency.
expected frequency = raw string frequency × estimated word likelihood
Expected frequency is the quantity used to rank candidates. Raw string frequency counts appearances of the candidate spelling in the unannotated text. Estimated word likelihood expresses how plausible word status is according to the comparison of distributions. The multiplication sign indicates that the ranking gives weight to both recurrence and word plausibility. The likelihood-estimation procedure comes from the earlier work. The adaptation experiment describes how the resulting ranking is used.
The annotator works through candidates in descending expected frequency and checks three different contexts for each candidate. The starting annotation assumes that the string forms a word. It places boundaries at the edges and joins all internal gaps. The annotator corrects those defaults when the sentence calls for a different segmentation. That check distinguishes a proposed word from a verified contextual example. A recurrent string can look promising in aggregate while appearing in a context that requires an internal cut or a different edge.
The recipe and disclosure procedures reach partially labeled sentences from different directions. In recipes, existing entity and word annotations determine what to retain. In disclosures, a candidate ranking identifies where to look, and the annotator decides what the boundary labels should be. The disclosure procedure therefore includes discovery and verification as well as training. At each hourly checkpoint, the authors incorporate the partially annotated material accumulated so far, build a segmenter, and measure its performance on the disclosure test set.
How the paper scores an analysis
The paper defines evaluation by comparing ordered sequences using the longest common subsequence. A subsequence keeps items in their original order and may skip intervening items. A longest common subsequence contains as many matching items as possible under that rule. The paper gives the definition for sequences of word and part-of-speech pairs. In that case, an item matches when the word and its tag agree. A sequence of predicted words with an incorrect split can have fewer matching items than the reference even if it preserves neighboring words correctly.
R = Nₗ꜀ₛ / Nᵣₑբ
R is recall, the share of reference items recovered in the common subsequence. Nₗ꜀ₛ counts the items in that subsequence. Nᵣₑբ counts the reference items, which are the correct word and tag pairs when scoring the tagged output. The slash denotes division. Recall depends on how much of the expected analysis the system recovered.
P = Nₗ꜀ₛ / Nₛᵧₛ
P is precision, the share of predicted items that match in the common subsequence. Nₗ꜀ₛ again counts the matched items. Nₛᵧₛ counts the items produced by the system. Precision is sensitive to additional predicted words or pairs that the reference does not support. A split can affect the two measures differently because changing the segmentation also changes the length of the system’s output.
F = ((R⁻¹ + P⁻¹) / 2)⁻¹
F is the F-measure. The superscript ⁻¹ means reciprocal. R and P are recall and precision, and division by 2 averages their reciprocals before the outer reciprocal is taken. This is the harmonic mean of the two measures. It yields a combined score sensitive to both recovering reference items and avoiding incorrect predictions.
F = 2Nₗ꜀ₛ / (Nᵣₑբ + Nₛᵧₛ)
F is the same F-measure expressed in terms of counts. The factor 2 multiplies the number of matched items, Nₗ꜀ₛ. The denominator adds the reference item count, Nᵣₑբ, and the system item count, Nₛᵧₛ. The parentheses group the two counts used in the denominator. The paper’s results tables identify their reported scores as word segmentation F-measure. Those scores concern the resulting words, so they should be read as segmentation results even where the analyzer also produces grammatical tags.
Experiments and results
Web text with full annotation available
The Web experiment uses the Balanced Corpus of Contemporary Written Japanese, or BCCWJ. The paper draws its general-domain data from five other sections of BCCWJ Core and takes Yahoo! Chiebukuro as the Web target. The corpus organization gives the authors a way to define the source and target by origin. They can add annotated material from the Web training portion while continuing to evaluate on a separate Web portion. The analyzers are the publicly available MeCab and KyTea.
The general training corpus contains 784k words. The training collection labeled General + Web contains 898k words, and the Web test portion contains 13.0k words. The corresponding dictionaries contain 29.7k and 32.5k words. The resource specification gives their coverage for word and part-of-speech pairs as 96.3% and 97.9%, respectively. Coverage describes the lexical information available from a resource. F-measure describes the analysis the system actually chose on the test sentences. A covered form can still lose to a competing segmentation, so coverage and segmentation performance answer different questions.
With general-domain resources alone, MeCab obtains 95.20% word segmentation F-measure on the Web test set. Inserting Web entries with the assigned costs and keeping the original training yields 96.59%. When the dictionary is expanded and the parameters are fitted again on general-domain sentences, the score is 96.55%. Using the combined general and Web corpus with the expanded dictionary yields 96.85%. That final setting has annotated evidence from the target sentences as well as the entries extracted for the dictionary.
MeCab word segmentation on the BCCWJ Web test set
The expanded dictionary improves segmentation and the combined training corpus gives the highest score.
The numbers
| System or setting | F-measure % |
|---|---|
| General-domain resources | 95.20 |
| Expanded dictionary without retraining | 96.59 |
| Expanded dictionary with retraining | 96.55 |
| Expanded dictionary and Web training sentences (this paper) | 96.85 |
KyTea scores 95.54% on the Web test set with the general-domain corpus and dictionary. The expanded dictionary with training on general-domain sentences brings the score to 96.75%. When the Web sentences also enter the training corpus, the score reaches 97.15%. The authors report no corresponding KyTea run for exchanging the dictionary without retraining. The dictionary result for KyTea should therefore be read as the outcome of an expanded resource used in the training procedure, while MeCab has scores for both dictionary-update procedures.
KyTea word segmentation on the BCCWJ Web test set
KyTea benefits from the expanded dictionary and improves further when Web sentences enter training.
The numbers
| System or setting | F-measure % |
|---|---|
| General-domain resources | 95.54 |
| Expanded dictionary with retraining | 96.75 |
| Expanded dictionary and Web training sentences (this paper) | 97.15 |
The authors describe the dictionary intervention as recovering 75∼80% of the improvement in segmentation F-measure, with the remaining 20∼25% obtained through corpus addition. That is their account of the division of the observed gain in this experiment. For MeCab, they use its unretrained dictionary expansion in that discussion. The comparison matters because the combined corpus was the more effective resource, yet most of the gain was already available from the simpler lexical update. Which strategy is attractive in practice depends partly on whether the extra performance warrants preparing the contextual labels.
The MeCab scores also show why the retraining condition deserves its own row. Expanding the dictionary is clearly beneficial in either version. Re-estimating the parameters on general-domain data with that dictionary gives a slightly lower observed Web score than retaining the original parameters and assigning the new entries their prescribed costs. Re-estimation on source text does not expose the analyzer to annotated target usages. The measured result concerns that particular combination of corpus, dictionary, and assignment procedure.
What changes in the Web output
The authors illustrate the extra improvement from corpus addition with cases in which MeCab changes a split into a single word. One is なん, the hiragana spelling glossed as “what.” The paper explains that the general-domain sources often represent that use with the character 何. Faced with the hiragana form, the analyzer had favored a division into な and ん, which can occur as an auxiliary and its ending in the general-domain material. The paper records a frequency of 4 for this correction among its examples of gains from corpus addition. The characters were familiar, but the training evidence for the Web use differed.
A second example is the smiley ^^, with a reported frequency of 3 for the illustrated correction. The general-domain material offers little experience with this form, while Web text uses smileys of this kind. Dividing the two characters gives a possible sequence of pieces. In the corpus-addition condition, MeCab learns to preserve the smiley as a single unit in these instances. Character sequences involving ^ can form words in different ways, so the surrounding distribution in the target training material matters as well as the presence of the exact string.
The remaining example is 感じ, glossed as “feeling,” with a reported correction frequency of 2. According to the authors, the general-domain corpus lacks this form in its noun use. MeCab can instead treat 感 as a verb fragment and じ as an ending. Web sentences provide evidence for grouping the characters into the noun where the target usage calls for it. This illustrates how an apparent boundary problem can reflect a change in grammatical usage between corpora. It is still evaluated here through the segmenter’s selected words.
These examples indicate what the aggregate F-measure can conceal. The same kind of scoring improvement can include an orthographic variant, a convention of informal writing, and a lexical analysis that competes with a familiar inflected form. The counts accompany particular corrections. The paper uses them to illustrate mechanisms by which corpus training helps, without assigning a share of the total gain to each kind of error.
Recipes with selected spans annotated
The recipe training split contains 1,760 sentences, 33,088 words, and 50,002 characters. Its resource specification also gives 13,197 named entities. The recipe test split contains 724 sentences, 13,147 words, and 19,975 characters. These counts describe the underlying corpus. The adaptation experiments deliberately use less than its full training text as supervision, depending on which expressions are kept and how many occurrences of each the authors select.
The experiment reports segmentation F-measure on both the recipe target and a BCCWJ evaluation. The unadapted KyTea segmenter obtains 94.35% on recipes and 98.87% on BCCWJ. With a recipe dictionary of 1,999 words, the recipe score rises to 94.54%, while the BCCWJ score is 98.90%. The second evaluation makes it possible to see how adaptation to recipes affects the reported performance on the general benchmark alongside the gain in the new domain.
With a maximum of 1 contextual occurrence per entity, the average is 1.00 and the added material has a reported word count of 1,999. The recipe F-measure is 95.56%. At a cap of 2, the average is 1.60, the word count is 3,191, and the recipe score reaches 95.81%. At a cap of 3, the average is 2.02, the word count is 4,046, and the recipe score is 95.94%. The recipe score keeps rising across these settings while the realized average grows more slowly than the nominal cap.
At a cap of 4, the average is 2.36 and the recipe F-measure is 96.01%. At a cap of 8, the average reaches 3.26 and the recipe F-measure is 96.07%. With caps of 16 and 32, the averages are 4.26 and 5.10, and the corresponding segmentation scores on recipes are 96.14% and 96.21%. At the cap of 64, the average is 5.77 and the recipe F-measure is 96.28%. With no cap, the average is 6.60 and the recipe F-measure is 96.29%. Across the partial-annotation rows, BCCWJ F-measure is reported as 98.89%.
KyTea adaptation settings and word segmentation on the recipe test set
Contextual annotation outperforms dictionary addition, with smaller gains toward the high end of the occurrence range.
The numbers
| System or setting | F-measure % |
|---|---|
| General-domain resources | 94.35 |
| Recipe dictionary | 94.54 |
| Partial annotation capped at 1 occurrence | 95.56 |
| Partial annotation capped at 3 occurrences | 95.94 |
| Partial annotation capped at 4 occurrences | 96.01 |
| Partial annotation capped at 8 occurrences | 96.07 |
| Partial annotation capped at 64 occurrences | 96.28 |
| Partial annotation with all available occurrences (this paper) | 96.29 |
The repeated BCCWJ value provides a useful reading of the recipe experiment. In these reported runs, increasing target supervision changes the recipe score while the general-domain measure stays at the same reported value. That observation concerns segmentation F-measure at the paper’s precision. It gives no distribution of changes over individual BCCWJ sentences. The target comparison has more room to move because the unadapted system starts from a lower score on recipes than on BCCWJ.
The word count in the recipe table is also worth reading alongside the average. At a cap of 4 the count is 4,727, and at a cap of 8 it is 6,523. It reaches 11,542 at the cap of 64 and 13,197 with all available occurrences. The counts tell the reader how much annotated material the procedure is drawing in as the limit is relaxed. F-measure changes more gradually at the high end of that resource range. A team looking at the curve therefore faces a choice between pursuing the highest observed score and stopping earlier to contain the amount of annotation.
Invention disclosures with annotation time tracked
The disclosure experiment tests a more operational version of the procedure. The authors identify candidates in raw domain text, have an annotator review their boundaries in context, and measure segmentation as annotated examples accumulate. The held-out disclosure test set contains 500 sentences, 20,658 words, and 32,139 characters. The unit of progress during the work is time spent annotating. An evaluation after each hour gives a sequence of scores on that same test set.
The leftmost point of the learning curve corresponds to the general-resource segmenter before disclosure adaptation. The authors describe this starting score as high relative to the recipe baseline. They attribute that difference to the resemblance between disclosure prose and general-domain text that includes newspaper articles. The comparison concerns the fit of each target to the general training resources. It supplies context for understanding why a sizable reported reduction in errors can occur even when the initial segmentation is already fairly accurate.
After 12 hours of work, the authors report eliminating 20% of the errors on the disclosure test set. They describe the absolute F-measure as close to that of a strong segmenter evaluated with training and test material from the same domain in the earlier pointwise study. That benchmark is a comparison made by the authors. The paper’s prose gives the disclosure end result as an error reduction, and the learning curve depicts change over time. The 20% figure measures the authors’ reported reduction in errors. It cannot be read as a value of F-measure on the disclosure test set.
The curve was still improving over the time observed, in the authors’ reading. This completes the progression from the benchmark comparison to practical acquisition. The Web experiment starts with complete target annotations and tests whether they are worth retaining as sentences. The recipe experiment uses existing selected spans to test how much repeated contextual supervision contributes. The disclosure experiment shows what happens when such annotations are acquired from scratch for a stream of ranked candidates, with progress measured at successive points in a real annotation job.
What the ablations show
Vocabulary and sentence supervision make distinguishable contributions
The controlled comparisons operate on the training resources and the number of occurrences retained. In the Web runs, the general-domain baseline gives the starting point from which the authors can change the dictionary. The dictionary-with-retraining condition and corpus-addition condition both use the added Web vocabulary. Their contrast shows the effect of supplying annotated Web sentences under this training setup. The comparison does not require the reader to infer the value of context from coverage alone. Both tools choose better segmentations when they can learn from the target sentences.
Because MeCab has an extra dictionary-only run without retraining, it also separates a resource update from a new estimation pass on the source corpus. The small reversal between those runs shows that retraining with the expanded dictionary does not automatically improve the Web score. That result is compatible with the resource mechanism the authors describe. New entries make additional analyses possible, and a training objective based on source sentences has evidence about their usefulness in that source. Target usage enters as supervision only in the corpus condition.
The authors expected vocabulary expansion to help the dictionary-dependent joint design more strongly. Instead, they describe the magnitudes of improvement for MeCab and KyTea as close. KyTea’s independent boundary decisions still make use of dictionary evidence about whether a potential cut falls at an entry’s edge or inside it. In this experiment, the practical importance of the dictionary is apparent in the scores for both analyzers. The outcome compares complete systems. It does not isolate a particular feature or give a general ranking of how much either design depends on dictionary quality.
The MeCab examples narrow down what the corpus condition changes in concrete cases. A dictionary entry can be compatible with the intended analysis and still face alternatives that the original training material strongly supports. The competition between なん and its split analysis has that character. For the smiley, wordhood is associated with a pattern of Web writing. For 感じ, the alternative involves a difference in grammatical use. The common effect is visible in the selected segmentation. Corpus supervision makes an analysis more competitive in context, and a bare list of additions gives less evidence for that decision.
The first contextual example and later repetitions answer different questions
The recipe dictionary and the first partial-annotation row have the same reported word count, 1,999. They differ in the form of the evidence. The dictionary makes the words available as entries. The partial sentences align them with labeled gaps in an observed context. The first contextual row has a recipe F-measure of 95.56%, compared with 94.54% for the dictionary row. The prose discussion characterizes the one-occurrence method as at least as effective as adding the dictionary. The tabulated scores are numerically distinct and put the contextual condition ahead on the recipe test.
That comparison is stronger evidence about representation than a contrast between the dictionary and the fully expanded partial corpus alone. There is a contextual advantage even at the smallest occurrence cap, before the procedure has accumulated examples of repeated uses. At the same time, a dictionary entry and a contextual word annotation are different units of supervision. The latter can imply judgments about several gaps and supply adjacent text at every supervised position. The matched count of 1,999 gives a common scale for the amount of word material. It does not make the annotator effort or the number of boundary decisions equivalent.
The occurrence sweep addresses a separate question, whether there is value in returning to an expression after its first contextual example. Additional occurrences provide examples in which the left and right surroundings can change. They also reinforce the cut and join decisions where the same expression recurs. The recipe score goes up as the cap increases, so the additional occurrences contribute under this procedure. The experiment changes context exposure and total labeled material together. It cannot say how much of the gain comes from variety specifically, as opposed to repeated evidence for a segmentation.
An occurrence cap can sound like an instruction to annotate that many examples of every expression. The realized averages show why this is misleading. With a cap of 3, the recipe examples average 2.02 occurrences. The settings with caps of 4 and 8 average 2.36 and 3.26. The authors use those latter settings when reasoning about the beginning of the disclosure annotation job, where the ranked candidates are relatively frequent and can be examined in three different contexts. This comparison connects the corpus experiment to a practical policy without claiming that the same cap means the same workload in every domain.
At the high end, the sweep approaches a plateau in the reported recipe scores. The last capped condition, at 64, obtains 96.28%, and the unrestricted condition obtains 96.29%. The difference in resource counts across those rows shows that the final increments of supervision can be much less productive than the early ones. The unrestricted condition gives the highest measured recipe F-measure. The decision to concentrate a limited budget on a few examples rests on the shape of the curve and the authors’ account of the cost of checking each occurrence.
The timed curve tests the combined workflow
The invention disclosure curve tests whether training gains can accrue as a person checks ranked candidates in real text. At each checkpoint, time, candidate coverage, and the supply of annotated gaps all increase together. The curve shows progress for the complete acquisition procedure. It offers no comparison between expected-frequency ranking and a different ranking, or between the chosen context count and another count in disclosures. The recipe results supply the evidence behind the choice of a small context set. The disclosure results show how that choice performs as one part of an operating annotation workflow.
The three experiments are thus informative at different levels. The Web comparison varies vocabulary and full sentence supervision. The recipe comparison varies whether labeled material is kept as entries or retained in contextual examples, and then varies the occurrence cap. The disclosure evaluation varies accumulated work under a fixed procedure. A reader interested in why scores improve can look to the resource contrasts and the output examples. A reader interested in whether a modest operation can produce gains can look to the timed curve.
Limitations
Limits identified by the authors
The authors say that they did not tune the analyzer parameters precisely. The Web figures are comparisons under their chosen training conditions. An optimized run could obtain different scores, and the reported ordering between closely spaced settings should be read with the tuning procedure in mind. The study is deliberately about a change in available resources, so its findings are most directly tied to those changes in the implementations they evaluated.
They also describe the Web comparison as somewhat artificial. Complete segmentation and part-of-speech annotations are already available for the target sentences used in corpus addition. That makes a controlled comparison possible, since the authors can derive target entries from those sentences and then decide whether to retain the sentence supervision. On an actual acquisition job, complete annotations might take substantial work to create. The subsequent experiments change the acquisition problem by restricting the amount of text that needs a person’s judgment.
The authors give an implementation reason for reporting only KyTea on partial annotation. Their MeCab setup cannot learn from such corpora. The evidence about using selected gaps therefore pertains to the pointwise segmenter. The Web comparison establishes that MeCab uses full corpus additions productively. It supplies no MeCab result for selected-gap supervision and leaves open what a joint analyzer designed for that type of supervision might achieve.
They also narrow the practical experiments to segmentation. Their rationale is that much of the ambiguity in the Japanese adaptation cases of interest falls on word boundaries. They characterize unknown words as predominantly nouns, with the rest including other content categories such as verbs and adjectives. That reasoning explains the experimental priority. The result is a study with a broader morphological-analysis framing and a detailed numerical account of segmentation. The authors’ observation that the disclosure curve still rises is likewise an interpretation of the interval they observed. It does not establish how the same procedure would behave after a much longer annotation effort.
Limits visible in the comparisons
The largest numeric tables report segmentation F-measure. The paper defines the paired word-and-tag evaluation, uses analyzers that can assign parts of speech, and explains how dictionary information enters tagging. A separate set of tagging scores would be needed to say how much dictionary or corpus expansion changes tag accuracy, especially where the boundaries are already correct. The example of a noun competing with an inflected analysis gives a reason context could affect both tasks. The reported aggregate score quantifies the boundary outcome.
The Web comparison also obtains both resource packages from a corpus with gold annotations. That construction is useful because the added words correspond to the same target material as the added sentences. It leaves a different question open about dictionaries assembled independently of the training corpus. Such a dictionary might have broader or narrower overlap with the test domain, and entries could be selected using different criteria. The reported 75∼80% share of the gain belongs to the vocabulary expansion tested here. It has no demonstrated status as a general estimate of what dictionary work buys.
Recipe supervision is selective by construction. The spans mark expressions important for cooking, so their distribution follows the purpose of the original annotations. They offer evidence about the kinds of terms the recipe corpus marks and the contexts in which those terms appear. An unfamiliar form outside those spans contributes no comparable boundary labels in that procedure. The score therefore evaluates the value of the available targeted annotation, while leaving the effects of another choice of spans unmeasured.
The recipe sweep reports no separate estimate of the effect of context selection. Allowing more occurrences can add more distinct surroundings, more examples of familiar surroundings, or both. The cap and average count quantify exposure, and the test F-measure quantifies the result of training with it. An experiment that held the annotation amount fixed and compared different ways of choosing contexts would be needed to separate those effects. Without such a comparison, the sweep supports a small, productive contextual budget in this setting. It does not identify a universally best number of examples.
The cost evidence has a similar boundary. The recipe study uses annotations and occurrence counts as proxies for additional work. The disclosure study measures actual annotation time for the procedure the authors use. It does not report a matched run in which the same amount of time is spent building a dictionary or completely annotating sentences. As a consequence, the Web results rank resource strategies on test performance under a common data construction, and the disclosure result relates performance to time for partial annotation. Together they motivate a practical choice. They leave the relative time efficiency of all strategies unresolved.
The disclosure evaluation combines several choices made before annotation. The authors choose a way to extract unfamiliar strings, rank them by expected frequency, expose several occurrences, and start with default boundaries that an annotator can correct. A successful curve establishes that the package works on the reported disclosure test set. It cannot attribute a share of the improvement to the ranking, the defaults, or the choice of contexts. For example, working on frequent candidates early in the session could affect the curve even if the labels for each individual occurrence were equally valuable later on.
Finally, the paper reports point estimates and examples rather than uncertainty intervals or repeated runs for these differences. The main patterns can be read directly in the tables, including the gains from adding Web sentences and the progression across recipe caps. Very small differences, such as those at the far end of the recipe sweep, warrant a narrower interpretation as the observed order on this test. Likewise, the stable reported BCCWJ F-measure does not resolve whether some general-domain sentences improved while others became worse. All the target evaluations concern Japanese and the particular forms of Web text, recipes, and invention disclosures studied here.
What came after
The paper records a transfer from controlled resource comparisons to an annotation job on invention disclosures. That is the follow-through the authors document within the same study. The earlier pointwise analyzer supplies a way to learn from individual labeled gaps, and earlier distributional work supplies a way to find candidates in raw text. The authors bring those pieces together with a small number of contextual checks and track the segmentation result over annotation time. No later study is identified here that tests, extends, or reuses this particular comparison, so the reported follow-through ends with that application.
Cite
Cite as Shinsuke Mori and Graham Neubig. 2014. Language Resource Addition: Dictionary or Corpus?. Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14).
@inproceedings{mori2014language,
title = {{Language Resource Addition: Dictionary or Corpus?}},
author = {Shinsuke Mori and Graham Neubig},
booktitle = {Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)},
year = {2014},
doi = {10.63317/3sxwtfw7aeyi},
url = {https://doi.org/10.63317/3sxwtfw7aeyi}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/mori-2014-language-resource-addition-dictionary-or/