---
title: "Pattern-Based Context-Free Grammars for Machine Translation"
description: "Takeda’s pattern-based grammars pair source and target rules for machine translation, favoring phrase-specific rules while keeping general…"
canonical: "https://research.elamur.ai/free/en/papers/takeda-1996-pattern-based-context-free-grammars/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/takeda-1996-pattern-based-context-free-grammars/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [1996](https://md.research.elamur.ai/free/en/papers/1996/) / Pattern-Based Context-Free Grammars for Machine Translation

# Pattern-Based Context-Free Grammars for Machine Translation

Paper · 1996 · Koichi Takeda

**Authors:** Takeda, Koichi · **Year:** 1996 · **Venue:** 34th Annual Meeting of the Association for Computational Linguistics · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**28** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2146729634) · Cited by **12** papers in our library of more than 163,000 papers whose bibliographies we read · [34th Annual Meeting of the Association for Computational Linguistics](https://aclanthology.org/volumes/P96-1/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/P96-1020/)
- [PDF](https://aclanthology.org/P96-1020.pdf)
- [DOI 10.3115/981863.981883](https://doi.org/10.3115/981863.981883)
- [OpenAlex](https://openalex.org/W2146729634)

Citations: OpenAlex, 2026-10-14.

## Summary

A translation system can know every word in a phrase and still get the phrase wrong. A dictionary entry can supply a missing word or favor one translation of it, but a correction often has to specify which other words occur with it, what kind of phrase they form, and how the parts should be arranged in the target language. Koichi Takeda proposes a way to make those corrections in a system for [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). A translation pattern pairs rules from a [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/) and links corresponding pieces. Some pieces can be required to have particular words as their grammatical heads. Others can remain open, so a pattern can apply to a family of phrases. A general rule can serve as a fallback alongside a rule for a particular expression.

The paper separates the parts of translation that have different computational costs. A chart parser first records possible structures for the source sentence. The system can then check word-specific restrictions, rank compatible candidates, and use the links to build a target derivation. A formal result shows that the source strings accepted by the pattern grammar can also be accepted by an ordinary context-free grammar. That makes familiar methods of [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) applicable. The number of target derivations can nevertheless grow exponentially, even for a single source structure, so the prototype gives priority to promising patterns instead of trying to build every translation at once.

Takeda also describes how to use a bilingual sentence pair to improve a grammar. If the desired translation is already preferred, the pair requires no change. If the desired translation can be derived but loses to a competitor, the grammar writer can specialize rules from the desired derivation and give them higher priority. If the grammar lacks the necessary rules, the writer can supply a missing phrase pattern or retain the sentence pair as a pattern. This gives a correction a chance to apply beyond the sentence that prompted it.

The paper reports a manual simulation of that procedure on 770 English–Japanese sentence pairs from the Japan Electronic Industry Development Association, or JEIDA. Over 90% of the JEIDA sentences were correctly translated in this exercise. New rules were particularly useful early in the work. Later, when the grammar offered several translations for many examples, the main task shifted toward specializing rules and adjusting priorities. The result describes what the grammar achieved during manual development on the evaluation material. The paper also identifies errors for which word-specific patterns alone offered too little evidence, especially when the system had to work out where a phrase attached or how much material a coordination included.

## Deep dive: Pattern-Based Context-Free Grammars for Machine Translation

Takeda’s pattern-based grammars pair source and target rules for machine translation, favoring phrase-specific rules while keeping general fallbacks. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a user needs to be able to correct

The paper starts from an everyday use of translation software. As more material became available on the Web, readers encountered texts in languages they could not readily understand. Takeda describes inexpensive tools marketed in Japan to help readers make sense of English Web pages on personal computers. The tools made translation broadly accessible, but their options for correcting a recurring error were limited. A reader might add a missing word or compound to a private dictionary or choose a preferred equivalent from several word-level translations. Errors involving combinations of familiar words could survive those changes and recur in later texts.

A correction at the dictionary level acts on a lexical entry. A correction at the phrase level can depend on the words around that entry, the kind of complement it takes, or the way those parts are expressed together in another language. The distinction matters for customization. Changing a word’s translation globally can affect all its uses. A phrase pattern can confine a change to the context in which the user observed it. The same issue arises when someone moves between subject areas. A useful customization mechanism needs to handle distinctive expressions while retaining general rules for the rest of the text.

Takeda’s design therefore has several demands to meet at once. The representation needs enough detail to distinguish uses of the same word. A user needs a practical way to add that detail. The translation procedure has to manage the competing analyses that accumulate as the grammar expands. Finally, a correction needs a route into future translations. The paper treats scalability in this last sense as the ability to improve incrementally through use. The challenge includes picking among old and new rules when both cover the same input.

#### What the alternatives offered

Unification grammars and accounts of [lexical semantics](https://md.research.elamur.ai/free/en/concepts/lexical-semantics/) gave grammar writers tools for describing individual usages precisely. The paper points to Lexical-Functional Grammar, Head-Driven Phrase Structure Grammar, and the Generative Lexicon. In the paper’s account, a sufficiently detailed grammar or lexicon could capture distinctions that a simple word-to-word dictionary misses. The practical questions were how to find and choose analyses efficiently and how to let people without specialist knowledge build the necessary entries. An expressive description can address the linguistic side of the problem while leaving the work of writing and running it substantial.

Example-based and statistical translation offered a different route to customization. A user could supply a bilingual corpus, a collection of sentences paired with translations, and let the system use the material. The paper cites [Toward Memory-based Translation](https://md.research.elamur.ai/free/en/papers/sato-1990-memory-based-translation/) among the predecessors of this kind. Takeda singles out two practical uncertainties. A system might lose accuracy when applied to a different domain, and the amount of material needed to make it useful in that domain was unclear. Supplying examples was an approachable form of input. The open question was how reliably that input would produce adequate translations.

Tree-adjoining grammars offered a way to describe a larger domain of locality. Here, locality means how much relevant structure can be specified within a single rule or elementary structure. If a translation depends on a verb and one of its arguments together, it is useful to state the relationship in an entry that can see both. In [Synchronous Tree-Adjoining Grammars](https://md.research.elamur.ai/free/en/papers/shieber-1990-synchronous-tree-adjoining-grammars/), the source and target structures develop together through linked operations. This is the sense of synchronization Takeda adopts. The paper also mentions bilingual signs as an earlier argument for treating synchronization and locality together.

On the computational side, the paper cites a polynomial worst-case bound for parsing tree-adjoining grammars, with a sixth power of sentence length. The units of description also matter for a system intended to be edited by users. In a synchronous tree-adjoining grammar, adding a rule means specifying paired tree structures. A translation pattern can instead foreground the linear order of the pieces the user sees. Takeda also distinguishes the proposal from an earlier pattern-based method by Maruyama, whose patterns the paper characterizes as ordinary context-free rules. Tree Insertion Grammar is mentioned as another effort to combine lexicalization with efficient parsing. These comparisons concern the grammar formalisms and their algorithms.

#### Why locality matters in translation

A conventional phrase-structure rule can say that a clause consists of a noun phrase, a verb, and another noun phrase. Rules of this kind provide a useful common description of many clauses. A translation rule may need to know much more about that particular combination. The paper’s English–French example uses the English verb *miss* and the French verb *manquer*. The two noun phrases take different positions in the translation. A broad clause rule describes where the constituents appear on each side, but the choice to use that particular pairing has to be tied to the verbs involved.

A pattern can also gather fixed material into a rule whose other parts remain variable. Age expressions illustrate both needs. English uses a form of *be* and includes *old*, whereas the French construction in the paper uses *avoir*. The quantity can be a short phrase or a more elaborate expression. The pattern needs to see enough of the expression to specify the change from English to French and leave the quantity available for its own analysis and translation.

The paper treats many such divergences as collocational, involving words or phrases whose conventional combinations matter for translation. The discussion draws on [Machine Translation: A View from the Lexicon](https://md.research.elamur.ai/free/en/papers/radzinski-1994-machine-translation-view-lexicon/). A rule that describes a familiar combination in one place can be easier to author and reason about than a collection of rules that distributes the same conditions over several structures. The next question is whether this convenience can coexist with the source analysis already available for context-free grammars.

### The method, step by step

#### How to read a translation pattern

A pattern contains a source rule and a target rule. Strip away the translation-specific information, and what remains on either side is a context-free rule. Takeda calls these the rule’s skeletons. A skeleton says which smaller pieces make up a larger phrase. A label such as `NP` is a nonterminal, a grammatical category that can receive an analysis of its own. A word appearing directly in a rule is a terminal. In a completed derivation, the terminal words give the sentence in order.

Consider the rule for *miss* and *manquer*. Both sides have a category for a sentence, `S`, and categories for its noun phrases and verb, `NP` and `V`. Slots with matching indices identify correspondences. The noun phrase in the first position on the English side is linked to the noun phrase in the later position on the French side. The other noun phrase moves in the opposite direction. The verb positions are also linked. The French skeleton includes the preposition required by the pattern. The target order is written into the rule, so the change in positions follows from applying it.

A head is a word carried upward from part of the phrase. In this pattern, the English verb position must have *miss* as its head, and the French verb position must have *manquer*. The sentence on each side takes its head from the verb through co-indexing. Sharing an index within a rule can thus propagate a head from child to parent, while matching indices across the source and target identify corresponding positions. A bilingual link can connect phrases with different head words. The lexical association between those words comes from the patterns chosen lower in the derivation.

A common place to introduce a head is the preterminal rule, which assigns a category directly to a word or sequence of words. A bilingual lexical entry pairs the English verb *leave* with French *partir* under `V`. Each side carries its own word as the head. As larger phrases are assembled, rules can require that head or pass it to the resulting phrase. This is how a rule higher up in a derivation can test a lexical fact even when it operates on a constituent that contains several words.

The head restriction travels in a particular direction. A nonterminal on the parent side of a rule can receive one of the heads present in its children. A rule can specify which child supplies the head and can require a particular value there. That makes the constraint monotonic in the paper’s sense. Building a larger phrase supplies or preserves the information needed for those checks. Heads in the basic formalism are character strings. The additional information used for agreement is introduced separately.

The age example uses head constraints in a second way. The English quantity phrase can be required to have *year* as its head and linked to a French quantity phrase headed by *an*. The same rule surrounds that slot with the appropriate verb and fixed material. A short quantity such as *one year* and a longer quantity such as *more than two years* can both use the open slot. Each quantity still needs a derivation. The outer rule specifies how the quantity participates in the age expression, while its internal wording is the job of the linked noun-phrase analysis.

The paper also sketches a shorter notation for entering patterns. An asterisk acts as a slot and defaults to a noun phrase. A writer can attach an explicit category or a required head to a slot. In the English–French examples, introductory wording with *to* and *de* identifies a verb-phrase pattern, and *to be* identifies the construction involving the verb *be* and its complement. The notation can be converted into the internal rules and links. Its purpose is to let a user describe the order of the pieces in each language without writing out two trees.

#### What the grammar accepts and what it translates

The definitions distinguish a successful source analysis from a successful bilingual derivation. A set of patterns `T` accepts a source string `s` when some derivation `Q` uses its source skeletons and meets the associated source head constraints. A translation imposes further requirements. The derivation must be synchronized across the two sides, and the relevant head and link restrictions must hold. The resulting target terminal string is `t`. A source sentence can therefore pass the source checks while the available target derivations still fail.

From a source sentence to a target derivation The steps in order.

The division explains why the final act of generation is straightforward in the basic formalism. Once a compatible target derivation has been constructed, the grammar has already specified its terminal sequence. The substantial work is in finding that derivation. The system must choose rules with compatible target heads and arrange the linked constituents as the target skeletons specify. A decision about a source span can matter to an enclosing target rule even when several choices look alike in the source chart.

#### Why source acceptance stays context-free

The paper’s first theorem concerns weak equivalence, meaning that the grammars accept the same strings. It states the following relationship.

```
L(T) = L(Gₜ)
```

`T` is the pattern grammar, and `Gₜ` is an ordinary context-free grammar constructed from it. `L` gives the language a grammar accepts, meaning its set of accepted strings. Equality applies to the source language. The theorem leaves the translation links and target output outside the equivalence claim.

The heart of the construction is to encode a category’s possible heads in its name.

```
{Xʷ | w is a terminal of T or w = e}
```

`X` is a category of the pattern grammar `T`. `Xʷ` is the category refined to record head `w`. The vertical bar means that the set contains the category variants satisfying the condition to its right. The special symbol `e` records the case without a carried head, and `=` expresses that choice of value for `w`. The terminal alphabet itself stays the same.

At the preterminal level, a rule can assign several terminal words to a category and give the category the head of the co-indexed word. In ordinary production notation, the resulting rule has this form.

```
Xʷⁱ → w₁ … wₖ
```

`X` is the preterminal category, and its superscript records the head word `wᵢ`. The symbols `w₁` through `wₖ` are the words on the terminal side of the rule, with `k` giving the length of the sequence and `i` identifying the position whose word is the head. The arrow separates the category being expanded from the ordered material that expands it. The ellipsis covers the intervening words. In the absence of a co-indexed word, the construction uses `Xᵉ` as the category on the left. The terminal sequence remains the same. In the simple case of a category directly over a single word, the paper assumes that the word supplies the head.

For a rule above the preterminal level, head requirements on the child categories become part of the category names. When the parent inherits the head of a child, that value appears on both sides.

```
Yʰʲ → X₁ʰ¹ X₂ʰ² … Xₖʰᵏ
```

`Y` is the parent category, and `X₁` through `Xₖ` are the ordered children, with `k` giving their count. The superscripts stand for the head values `h₁` through `hₖ`. The parent superscript stands for `hⱼ`, the head of the child at position `j`. The arrow and ellipsis have the same roles as in the preterminal production. When the rule has no co-indexed child from which to inherit a head, the parent is represented by `Yᵉ`.

An unconstrained child can be paired with every allowable head value in the compiled grammar. If it is the child supplying the parent’s head, the two names change together across the alternatives. With `N` terminal symbols and `k` child positions, the paper gives the following bound on the number of compiled rules that can stand for a single pattern rule.

```
(N + 1)ᵏ
```

`N` counts the terminals of `T`. The added `1` accounts for `e`. The exponent `k` is the number of child positions in the rule. Parentheses group the number of choices available at a position. The bound captures a potential cost of explicitly making all the head combinations part of the grammar.

The proof works in both directions. A valid pattern derivation specifies the heads that have been introduced and passed upward. At each step those values identify a corresponding ordinary production. In the other direction, a derivation with the compiled productions has compatible category names wherever one rule meets the next. Reading it from the terminals upward shows that each head requirement of the original rules is met. Source acceptance can therefore be described with ordinary context-free rules even when the head-annotated version is much more compact.

#### What the skeletons say about coverage

The paper introduces two ordinary grammars to bound the source coverage of the pattern grammar.

```
L(H) ⊆ L(T) ⊆ L(G)
```

`T` is the pattern set. `G` contains all its source skeletons with the head tests stripped away. `H` contains skeletons available in patterns that impose no head restrictions. `L` again denotes the accepted source language. Each `⊆` allows equality and says that the set on the left is included in the set on the right.

The upper bound follows because every accepted pattern derivation can be read as a derivation with the bare skeletons. A skeleton derivation may cover additional strings when a word fails the head test of the corresponding pattern. The lower bound comes from derivations whose rules carry no head tests. A grammar writer can use these relationships to think about the coverage of general rules and the contribution of rules requiring specific heads. The relationships concern source strings. For a string in all the sets, a head-constrained pattern can still change which translation is preferred.

The next theorem asks whether the upper bound is strict in general. In the paper’s formulation, the undecidable question is whether ignoring the head conditions adds strings to the accepted language.

```
L(T) ⊊ L(G)
```

The notation `L`, `T`, and `G` is the same as above. The symbol `⊊` means that the inclusion is proper, so `G` accepts some string that `T` does not. This is a question about the languages of two grammars as a whole. Testing acceptance of a particular sentence is a different task.

The proof uses the problem of deciding whether an arbitrary context-free grammar accepts every string over its alphabet.

```
L(F) = Σ*
```

`F` is an arbitrary context-free grammar in the reduction. `L(F)` is its accepted language. `Σ` is the alphabet, and `*` means all finite strings over that alphabet. The equality expresses complete coverage of those strings. The construction gives the skeleton grammar an unrestricted branch while making the corresponding branch in the pattern grammar unusable through its head constraints. The arbitrary grammar `F` supplies the remaining coverage. Equality between the two languages would then decide whether `F` accepts the entire alphabet’s string language.

Takeda describes a way to guarantee equal coverage by design. A writer can supply an unconstrained counterpart for every head-constrained rule. The default grammar then has the same source skeleton coverage as the full grammar. Under that policy a specialized rule serves to improve selection or to describe a particular translation. A source input can still be analyzed using the fallback. The policy makes the coverage question simple by construction, while still allowing distinct preferred translations for different expressions.

#### How the chart supplies candidates

The prototype uses the Earley algorithm on the source skeletons. A chart records partial and completed analyses over spans of the input. An active item represents a rule that still needs material. A completed item represents a category already found over a span. If several larger rules can use that category at the same position, the chart lets them share the completed analysis. This sharing is one reason to start with a source chart before building target structures.

The paper describes prediction, completion, and scanning. Prediction supplies rules that can begin where the parser is working. Completion takes a recognized constituent and uses it to advance rules that were waiting for that constituent. Scanning takes up the next source symbol. The source positions are written as follows.

```
I = s₁ s₂ … sₙ
```

`I` is the input string. Each `s` with a subscript is a source symbol at the indicated position. The last subscript, `n`, is the input length, and the ellipsis stands for the intervening symbols. At a chart boundary `i`, scanning concerns the next symbol, `sᵢ₊₁`. Completion at the final boundary gives the source analyses from which the system can choose.

A completed phrase in the source chart may be associated with several bilingual patterns. On their source sides they may share a skeleton, or they may construct the same category over the same span in different ways. Takeda proposes comparing these candidates using specificity, fixed words, compatibility, and derivation length.

Specificity applies when the source skeleton is shared. A more specific pattern retains the head conditions of the other pattern and adds a restriction. The paper compares a rule with *leave* as the verb head and *house* as the noun-phrase head with one that specifies *leave* and accepts an open noun phrase. If the phrase supplies the required heads, the particular rule receives priority. The general pattern is still available for the other uses of the verb.

The number of directly written terminal words is another signal. The rule that includes *a walk* as fixed material can be preferred to an open object slot after *take* if both cover the same phrase. This criterion rewards a rule that recognizes more of a collocation in one place. Head compatibility provides a separate preference. An entry with many fixed words can be attractive on specificity grounds, while a head restriction elsewhere still determines whether it fits. The preference for a shorter derivation similarly gives an advantage to a rule that handles a larger local expression in fewer applications.

The prototype represents preferences through costs. Patterns begin with weights, and context-dependent penalties produce effective weights. Lower effective weight gives a pattern higher priority. A user entry can receive favorable priority through its weight. The paper also mentions statistical estimation as a possible way to set weights. The corpus exercise uses manual decisions. On the target side, the paper says that its prototype accounts for head-constraint violation. Takeda found cases in the English–Japanese patterns where counting target constituents would be an unreliable guide to specificity.

The system then uses the links in candidate patterns to assemble a compatible target derivation. The paper describes link propagation as basically bottom-up. A target constituent must come from an appropriate paired derivation for the corresponding source constituent. When the parent target rule puts that constituent in another position, the linked subderivation fills the new position. Different rule choices can preserve the entire source analysis while changing the construction on the target side.

#### Which costs the source chart can control

The paper contrasts the complexity of tree-adjoining grammar parsing with the cost of the source-side operations for patterns. Its cited worst-case bound for tree-adjoining grammar parsing is:

```
O(|G| n⁶)
```

`O` gives an asymptotic upper bound. `G` here is a tree-adjoining grammar, and the bars indicate its size. `n` is the length of the input, and the exponent `6` gives the power of that length in the bound. This use of `G` is local to the complexity discussion.

For the source chart in the pattern method, the paper counts category–span pairs.

```
M ≤ Kn²
```

`M` counts the distinct pairs `(X, w)` of a category `X` and an input span `w`. `K` is the number of distinct categories in `T`, and `n` is the source length. The exponent `2` reflects the use of two boundaries to identify a span. The inequality gives the stated upper bound.

With those chart items, the paper gives the following time bound for determining preferred candidates at completed source items when head constraints are outside the parser.

```
O(|T|Kn³)
```

`O` again denotes an asymptotic upper bound. `|T|` is the size of the pattern set, `K` counts its categories, and `n` is the source length. The exponent `3` is the power of length in the source-chart bound. The preferred alternatives are candidates to use when constructing a target chart.

The source parser can instead check heads during its chart operations. The category and span now come with a head.

```
Kn³
```

This is the paper’s bound on the number of triples `(X, w, h)`. `X` is a category, `w` is a source span, and `h` is its head. `K` and `n` have the same meanings as in the bound for pairs. A source span can supply several heads, adding another factor of sentence length to that count. The paper gives the resulting parsing bound as follows.

```
O(|T|Kn⁴)
```

`|T|` is the pattern-set size, `K` is the number of categories, and `n` is the source length. The exponent `4` is the power for the version with head tests built into prediction, completion, and scanning. The choice is between a smaller skeleton chart whose candidates receive subsequent checks and a source chart that carries finer distinctions during parsing.

Target construction introduces a further parameter.

```
O(Kn²m)
```

`K` is the category count, `n` is input length, and `m` is the number of preferred candidates considered per completed source chart item. `O` gives the bound for constructing target charts on that basis when construction is possible. The paper treats `m` as a choice with substantial consequences. It can become exponentially large if the goal is to generate every translation.

The growth appears in an example where two patterns repeatedly combine a sequence of the same source categories. They build the same nesting on the source side. Their target rules can place an added constituent on different sides of what has been built so far. Distinct sequences of choices yield distinct target structures.

```
2ⁿ
```

This is the number of synchronized chart pairs in the example with `n + 1` source nonterminals. The base `2` is the number of pattern choices at each repeated combination, and `n` counts those combinations. The final category in the source sequence serves as the starting point for the nesting. The example explains the decision to postpone target-chart construction. Packing source alternatives together can be efficient while the possible target counterparts remain numerous.

The paper imposes restrictions on patterns that take part in synchronized cycles. A cycle that consumes no further source material can yield indefinitely many derivations. If its target side adds material on each turn, it can also produce translations of arbitrary length from the same input. Takeda proposes a timeout and some way to recover when full translation fails. One suggestion is to adapt ideas from [The Fitted Parse](https://md.research.elamur.ai/free/en/papers/jensen-1983-fitted-parse-100-parsing-capability/) to target skeletons. These are practical measures for a search that can outgrow the source chart.

#### How features rule out otherwise plausible derivations

Heads can identify words, but a rule may also need to track agreement, the presence of an object, or the kinds of complements that a verb takes. Takeda adds fixed-length vectors of binary features to nonterminal nodes. [Morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) matters here through distinctions such as person and number, while other features describe the local requirements of a phrase. Unification is the operation that combines compatible specifications.

```
(0, 0) or (1, 1)
```

`0` and `1` denote the binary values, and each parenthesized pair gives the values imposed on the same feature by the two descriptions being checked. The word `or` means that either matching pair succeeds. An unbound local feature can be filled during checking. The vector length is fixed, so the paper treats comparison of the vectors as a constant-time operation.

A verb phrase can be specified to take an object, with a feature on the resulting phrase recording that the object is present. The paper distinguishes features local to a particular node from features passed with the head. This lets a rule refer to the object status of a phrase before and after the object combines with it. Separate patterns can describe transitive and intransitive uses. A transitive use allows the object construction, while the intransitive pattern describes a verb phrase without that object.

The paper also gives an agreement condition for a nominative subject and a finite verb phrase, excluding the verb *be* from that example. The allowable combinations are represented collectively.

```
NP:1:*AGRS VP:2:*AGRV
```

`NP` is the subject noun phrase and `VP` is the verb phrase. The numerals `1` and `2` label the constituent positions in the pattern. The colons separate categories, indices, and constraints. The asterisk marks `AGRS` and `AGRV` as the paired aggregate agreement specifications. The pair succeeds when the features on the two phrases fit one of the listed alternatives.

A third-person singular subject can combine with a finite phrase marked for that form. Third-person plural subjects and subjects outside the third person use the alternatives for finite phrases without that marking. A further alternative covers the past-tense case specified by the paper. Grouping the alternatives keeps the pattern from having to express agreement as a single identical feature bundle on subject and verb. A compact condition can stand for several permitted pairings of values.

#### The worked translation

Takeda traces the sentence *He knows me well* through an English–French example. The source analysis finds a pronoun followed by a verb, an object pronoun, and an adverb. The lexical entry for *knows* allows different French verbs, while *well* also has more than one paired entry. The source chart can organize the words into a clause without settling these choices.

For the verb and object, two patterns share a source analysis. The target side of one puts a nonpronominal object after the verb. The other provides the order for a pronominal object. The entry for *me* supplies a pronoun feature, which supports the second pattern and conflicts with the first. The resulting choice is a consequence of the object’s features and the target rule. Source recognition of a verb followed by an object supplies the material for either candidate.

At the larger verb-phrase span, a general pattern combines a verb phrase and an adverbial. A more specific rule recognizes a phrase headed by *know* with *well* and specifies a target phrase headed by *connaître* with *bien*. The paper’s constraint-checking phase ranks that specific rule ahead of the generic one. The target chart must then use a lexical entry compatible with the specified French head. That check selects *connaît* from the competing entries for the source verb. The rule for the object puts the French pronoun in its appropriate position relative to the verb. The example shows how restrictions at the outer verb phrase can settle a choice that remained open at the lexical level.

#### How a bilingual example changes the grammar

The acquisition procedure starts with a pattern set and a bilingual corpus. Each source sentence is considered together with the target sentence supplied for it. Sentence pairs fit into the same representation as phrase patterns. A whole sentence pair has completely specified wording, while a shorter rule may leave multiple constituents open. Takeda’s procedure first asks whether a useful generalization is available before treating the whole pair as another entry.

When the chosen translation already matches the example, the pattern set can stay as it is. This case matters when a corpus repeats a construction the grammar can handle. Adding a complete entry for every such sentence would increase the collection without addressing any error in its rule choice or coverage.

When the system produces a different translation, the next question is whether it already has a paired derivation for the desired one. If it does, the grammar writer can take rules from that derivation and make them more specific. An unconstrained category in one of those rules can receive the head observed in the successful analysis. The resulting rule is added if it is new, and low weights give the desired route through the grammar a higher priority. This can be repeated until the derivation of the expected target is preferred. The example reveals both a structural option already present in the grammar and a context in which the system should choose it.

For instance, a general rule can pair a verb phrase and an adverbial yet choose an unsuitable target in a particular combination. The paper illustrates specializing this rule with the observed heads for *leave* and *considerably*, together with the corresponding French heads. The grammatical slots remain in the derived pattern. A future sentence with material that fills those slots under the same head conditions can encounter the specialized rule.

When the desired translation has no paired derivation, changing weights is insufficient. The writer looks for a useful phrase or collocation pattern to add. The example involving *leave it behind* places the fixed material in a verb-phrase pattern and keeps the structure needed for the object. If a useful smaller rule cannot be supplied, the whole pair can be kept as a pattern. When the grammar currently produces no translation for the source sentence, the procedure also calls for adding the pair. The acquisition scheme was carried out by hand in the reported exercise. Its procedure specifies which repair to consider, with people identifying and entering the repairs.

### Experiments and results

#### The English–Japanese development exercise

The quantitative translation result comes from a set of 770 English–Japanese sentence pairs assembled for machine translation evaluation by the Japan Electronic Industry Development Association. The paper calls them simple sentences in the sense relevant to the evaluation. Each is intended to test basic linguistic behavior through an example. That description allows for varied wording and for examples that contain more structure than a short subject–verb clause.

Takeda gives sentences that illustrate the range of the material. One mentions a trade deficit and includes an explanation alongside an attribution to government figures. Another refers to a beach visit relative to an earlier time. A sentence about remaining calm contains an expression that is naturally considered as a phrase. There is also an example containing a quoted expression. These instances make clear why an evaluation item can test a particular phenomenon while still containing other decisions about analysis and translation.

The reported metric is whether the JEIDA sentences were correctly translated in the manual simulation of grammar acquisition. The paper’s wording for the result is *over* 90% of the JEIDA sentences. It gives the size of the sentence-pair set and that threshold. The evaluation is described at the sentence level. The paper supplies no separate numerical results by linguistic construction or by type of grammar repair. Its reference to the paired targets explains how the grammar writer could diagnose a discrepancy, determine whether the desired derivation was available, and change the grammar accordingly.

The exercise changed character as the grammar grew. Initially, the writer often responded by adding new patterns. The paper describes many sentences as yielding a correct translation without ambiguity at this stage. As more patterns became available, several translations commonly competed for a given JEIDA sentence. The task then concentrated on lexicalization and careful weighting. The qualitative account links that change to the state of the grammar. Early examples exposed missing entries. Later examples more frequently called for selecting a particular derivation within a richer set of possibilities.

The paper describes no separate test split in this exercise. The JEIDA pairs supplied examples for the manual acquisition procedure and form the set for which the reported correctness figure is given. That condition is central to reading the result. It shows the extent to which the exercise produced a grammar capable of handling these examples. An evaluation of how frequently the resulting grammar handles new sentences would require measuring them separately.

#### What is available for comparison

The paper gives no measured translation baseline for the JEIDA set. It explains how a more general pattern can function as a fallback and how general patterns differ from head-constrained patterns. It gives no JEIDA accuracy figure for the fallback rules alone. Nor does it give a paired score for the prototype before and after the repairs or a score for another translation system on the same material. The over 90% figure is therefore a result for the reported development exercise, with no numerical estimate that assigns the outcome to any particular component.

The paper does provide a quantitative comparison of source-processing settings through its worst-case bounds. The dataset for this comparison is arbitrary source input of length `n`, since the bounds describe algorithms. The metric in the chart is the exponent of sentence length in each stated bound. Both settings carry the pattern-set size and category count as factors in the analysis. The star identifies the source-skeleton strategy used by the prototype. The JEIDA figure remains a separate sentence-correctness result.

Source chart settings on arbitrary input, exponent of input length The prototype’s source-skeleton strategy has a lower stated exponent than checking heads during source parsing.

**The numbers**

| System or setting | exponent of input length |
| --- | --- |
| Source skeletons with subsequent head checking (this paper) | 3 |
| Head checking within source parsing | 4 |

The analytical comparison makes the cost of adding head information to chart items explicit. It says how the worst-case expressions depend on input length under those choices. There are no measured running times for the two settings on the JEIDA sentences. It also leaves the expense of the bilingual search as a separate issue. The cubic source term can coexist with a large set of target candidates, and the paper’s constructed example accounts for that divergence.

#### What went wrong in the reported exercise

The paper gives individual failures to show where the coverage and selection mechanisms fell short. One involves seeing stamps on a desk. The phrase *on the desk* can connect to different parts of the sentence. A rule that has enough local information to combine the words can still lack the information needed to decide what the location describes. The author points to a role for semantic information in settling such attachment decisions. The same concern extends to attachment involving clauses.

Another sentence contrasts a speaker who is for a suggestion with one who is against it. The construction uses the same broad grammatical material in a kind of contrast whose interpretation matters for translation. The paper also lists a sentence about a woman making an excellent wife for someone, where an apparently familiar verb occurs in a construction that does not necessarily follow from its common patterns. These examples show the variety of errors left in the system. Takeda lists them without providing separate scored diagnoses for every item.

The example involving someone painting walls and a floor white illustrates a question about coordinated material. An analysis has to determine the scope of the expression over the joint structure. Takeda argues that collocational evidence needs help from signals about the similarity and balance of the constituents. A head-constrained pattern can make a particular phrase recognizable, but that recognition leaves open how parts of a larger coordination fit together. The examples identify specific decision problems. The paper gives no numerical distribution of error types within the unsuccessful cases.

### What the ablations show

The paper reports no formal ablation study, and its evidence about individual components comes from worked derivations, complexity comparisons, and observations made during manual grammar development.

#### Where a specific pattern changes a decision

The English–French trace is the closest look at component behavior. The source parser recognizes enough structure to provide a general verb-phrase analysis. At that point the source words are already covered, and the chart can support more than one pairing. The sample then shows separately what happens when the object’s pronoun feature is checked and when a head-constrained pattern for the larger phrase is preferred.

The pronoun feature addresses compatibility. The pattern intended for a nonpronominal object becomes unsuitable once the entry for the object introduces the pronoun feature. A pattern with the appropriate target order remains viable. The rule for the phrase with *know* and *well* addresses a different ambiguity. It ranks ahead of the general adverbial rule and imposes a particular French verbal head. This narrows the available lexical choices for *knows*. Thus the trace connects separate kinds of information to decisions at different levels of the derivation.

The sample shows that a rule with fixed wording can influence a deeper lexical choice. A translator could choose a word locally as soon as it sees the source verb. Here the source chart preserves alternatives long enough for an enclosing pattern to provide evidence about which target verb is compatible. The specific phrase then does work that a rule covering only the word or only its grammatical category cannot do on its own. The trace establishes the mechanism on that example. The paper gives no corpus-wide comparison between the trace’s preferred output and the output of a version with that phrase pattern removed.

#### What the source-coverage comparison can establish

The grammars consisting of all skeletons or only unconstrained skeletons act as analytical comparisons. Stripping head checks gives an upper bound on the strings a pattern grammar can accept. Restricting the grammar to defaults gives a lower bound. If a default counterpart is included for every constrained pattern, the three languages coincide. This reasoning identifies where a constrained rule can affect recognition and when its principal contribution lies in distinguishing derivations or translations.

There is a useful consequence for interpreting an apparent failure. The availability of a source derivation under an unconstrained rule can be a sign that the parser already recognizes the construction. Repair may then depend on giving the system a target rule or a better way of choosing between bilingual derivations. Conversely, if only a broad skeleton derivation exists and all relevant heads prove incompatible, the permissive analysis has overstated the coverage of the actual pattern set. A source-coverage calculation alone gives no accuracy estimate for either variant. It provides a way to describe the point at which the grammar succeeds or fails.

The complexity comparison controls a different choice. It asks how the source algorithm’s bound changes when chart entries carry heads as well as categories and spans. That isolates the additional kind of information the chart has to represent. The exponential example likewise holds the source nesting fixed while the linked target choices vary. Its role is to show that efficient sharing on the source side gives limited control over target ambiguity. Both are arguments about what the representations permit in the worst case.

#### What changes as patterns accumulate

The distinction between adding a rule and specializing a rule follows from inspecting whether the desired translation has a derivation. With insufficient coverage, the expected sequence cannot be reached by merely preferring an existing derivation. Once the relevant rules exist, a poor choice can remain because they compete with other compatible rules. The author’s observation that acquisition shifted towards lexicalization and weight setting is consistent with that distinction.

This is a qualitative comparison between stages of the same exercise. It does not isolate a single change across otherwise fixed grammars. Coverage, the number of competing analyses, and manual priorities all evolved together. The paper shows how the repair problems changed in practice, while leaving the size of the contribution of each repair unmeasured. In particular, assigning a low weight to a refined derivation is part of the reported process, so its effect is intertwined with the choice of which heads to add.

### Limitations

#### Limits Takeda identifies

The author emphasizes the gap between efficient source analysis and efficient translation. The source chart can be built with a polynomial-time algorithm. A short list of prioritized candidates gives the system a practical way to begin target construction, but the whole translation procedure has no polynomial-time guarantee in the paper. Searching a broader list can be necessary when attractive source candidates lead to incompatible target structures. The constructed example shows that a policy of enumerating all translations incurs an exponential number of choices even where source structure is shared.

The suggestions of timeout, recovery, and restrictions on cyclic patterns address different aspects of this problem. A timeout limits the work allowed for a search. A recovery procedure can try to make use of partial results when the full derivation fails. Structural restrictions prevent patterns from adding arbitrary amounts of material or reproducing the same unresolved configurations indefinitely. The paper leaves the development of an efficient translation algorithm as an open problem for synchronized grammars.

A second limit concerns exactly what a lexical head represents. A single head is convenient for selecting a pattern and passing lexical information upward. Takeda suggests that a set-membership condition may be needed for coordinated structures. A phrase with coordinated members can require the translator to take account of several lexical elements and their relation to each other. Picking a single character string as the head can leave out information relevant to the translation. The author also points to questions of balance and similarity between coordinated pieces, which the paper’s collocational preferences do not fully address.

The author identifies cases involving light verbs and forms of *be* where information needs to move between the verb and its object or complement. A light verb participates in a phrase in which some of the important information for interpreting or translating the combination comes from its partner. The paper says that several feature values may have to be exchanged in these cases. Passing a head upward and checking fixed feature combinations provides a simple mechanism. Those examples motivate revisiting its assumptions.

Takeda also discusses a cost of the convenient notation for phrase patterns. A pattern can store a fixed collocation as a sequence of terminal words and omit its internal tree. That makes the entry easier to write, while losing precision about internal dependencies. The source equivalence proof has a related cost at the level of representation. Compiling heads into ordinary category names can expand the grammar substantially, even though the accepted source language remains context-free. The proof gives a way to characterize the accepted strings. It does not promise a compact compiled grammar.

Finally, the author describes acquisition and corpus integration as unfinished work. The proposed procedure separates correct translations, ranking problems, missing patterns, and total failure. The reported study used manual intervention to decide what to add and how to weight it. Turning those judgments into an automatic process remains a substantive part of the program.

#### Limits of the evidence

The strongest numerical result comes from a set used in grammar development. Because the procedure can refine rules for a particular example and can ultimately retain an entire sentence pair, performance on that set combines several forms of success. A corrected example may be handled by a newly reusable phrase rule, by specialization to heads shared with other sentences, or by an entry whose wording is the example itself. The paper gives no breakdown of the translations achieved by each route. Its result therefore leaves the extent of generalization to unseen sentences undetermined.

The evaluation also leaves the earlier questions about adaptation to different domains open. The JEIDA material supplies targeted sentence-pair examples. There is no comparison across domains showing how accuracy changes when rules move from one kind of text to another. The paper gives no curve relating the amount of bilingual material to correctness, nor a series of measurements showing how quickly the manual changes reach a particular quality level. It demonstrates how examples can enter the grammar and improve its handling of the exercise.

The English–French material is used primarily to explain the rules and show a derivation. The numerical result concerns English–Japanese. The two kinds of evidence complement each other, with the French cases clarifying how linked slots and lexical selection work and the Japanese exercise showing the procedure at a larger scale. The paper supplies no equivalent quantitative result for the French examples or a controlled comparison of the two language pairs. General claims about what can be written in the notation apply separately from the reported performance of a particular grammar.

A further limitation follows from the ranking policy. Head specificity, more fixed words, and short derivations all provide reasons to give a phrase pattern priority. Some ambiguities depend on evidence beyond the expression itself. An attachment decision may require knowing what a location can sensibly describe. A coordinated structure may require an account of the parallel roles of its parts. In those cases, a more specific entry could succeed on familiar wording while the general decision problem remains. The failures give examples of what the heuristic evidence was insufficient to settle.

The study gives no timings or resource measurements with which to judge the practical tradeoff between a small candidate list and the likelihood of finding a compatible target. The complexity bounds describe the available structure and some worst cases. The worked trace shows a situation in which the required target decisions can be made from the chart. The corpus exercise establishes that the prototype and manual repairs could cover much of the chosen material. How wide a search was needed across that material and how the cost grows in ordinary use remain open.

### What came after

The paper’s documented research agenda extends in two directions. One is to acquire reusable translation patterns from examples with less manual effort. The proposed procedure already distinguishes a correct derivation that loses in ranking from a desired translation that the grammar cannot derive at all. For automation, those situations require different evidence and different changes to the grammar. The paper cites earlier work on extracting translation patterns from examples and describes the broader acquisition problem as unfinished.

The other direction is to improve the search for compatible target derivations. The paper’s source-side results establish room for efficient parsing, while its synchronized examples show how choices can multiply on the target side. Takeda identifies that problem for both pattern-based grammars and synchronous tree-adjoining grammars. The available record identifies no later citing work for which a specific extension or reuse can be described.

## Cite

Cite as Koichi Takeda. 1996. Pattern-Based Context-Free Grammars for Machine Translation. 34th Annual Meeting of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.3115/981863.981883](https://doi.org/10.3115/981863.981883)

```bibtex
@inproceedings{koichi1996pattern,
  title = {{Pattern-Based Context-Free Grammars for Machine Translation}},
  author = {Koichi Takeda},
  booktitle = {34th Annual Meeting of the Association for Computational Linguistics},
  year = {1996},
  doi = {10.3115/981863.981883},
  url = {https://doi.org/10.3115/981863.981883}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
