---
title: "CCG Chart Realization from Disjunctive Inputs — Michael 2006"
description: "CCG chart realization generates alternative phrasings from a shared meaning representation and cuts search time in a dialogue case study."
canonical: "https://research.elamur.ai/free/en/papers/white-2006-ccg-chart-realization-disjunctive-inputs/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **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/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/white-2006-ccg-chart-realization-disjunctive-inputs/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2006](https://md.research.elamur.ai/free/en/papers/2006/) / CCG Chart Realization from Disjunctive Inputs

# CCG Chart Realization from Disjunctive Inputs

Paper · 2006 · Michael White

**Authors:** White, Michael · **Year:** 2006 · **Venue:** Proceedings of the Fourth International Natural Language Generation Conference · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**31** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2098850747) · [Cited by **16** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/white-2006-ccg-chart-realization-disjunctive-inputs/cited-by/) · [Proceedings of the Fourth International Natural Language Generation Conference](https://aclanthology.org/volumes/W06-14/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/W06-1403/)
- [PDF](https://aclanthology.org/W06-1403.pdf)
- [DOI 10.3115/1706269.1706274](https://doi.org/10.3115/1706269.1706274)
- [OpenAlex](https://openalex.org/W2098850747)

Citations: OpenAlex, 2026-10-14.

## Summary

A dialogue system can describe the same object in several ways. It might introduce a product line with a phrase ending in “by Villeroy and Boch,” or put the company’s possessive name before the product line. A sentence planner may want to make both versions available and let a later stage decide which one to say. If the generator handles each version separately, it can end up building much of the same sentence again. Michael White’s *CCG Chart Realization from Disjunctive Inputs* asks how a generator can share that work while respecting the choices the planner intended to offer. The task is known as surface realization, the part of language generation that turns a representation of meaning into words. [Text generation](https://md.research.elamur.ai/free/en/topics/text-generation/)

The paper extends OpenCCG, a surface realizer based on Combinatory Categorial Grammar. The input can explicitly offer a choice between words, between grammatical relationships, or between larger structures that organize the same message differently. Parts of the input can also be optional. The realizer breaks the input into small units and records which units belong to each choice. A chart stores grammatical phrases as they are built. Once different phrases satisfy the same input requirements and have the same syntactic category, the chart can let one stand for the others during further construction. Before that point, the algorithm tracks which unfinished choices a phrase can still belong to, so that material from incompatible branches cannot be joined.

The case study compares direct realization of these compact inputs with separate runs for their expanded alternatives. It uses logical forms for 104 sentences from the COMIC multimodal dialogue system, manually extended to admit more paraphrases. For 10-best output, the average time per input was 1.1 seconds with the compact representation and 5.6 seconds with separate runs. For single-best output in anytime mode, the corresponding averages were 0.5 and 4.1 seconds. Direct realization also created fewer chart entries in both settings. The study measures search cost for this grammar and these inputs. The paper reports a favorable manual inspection of the sentences and leaves realization quality unscored.

## Deep dive: CCG Chart Realization from Disjunctive Inputs

CCG chart realization generates alternative phrasings from a shared meaning representation and cuts search time in a dialogue case study. · about 35 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

#### Giving the realizer room to choose

Surface realization begins after another part of a generation system has decided what it wants to communicate. The realizer must find words and arrange them into a grammatical expression that conveys the specified content. A sentence planner can supply a meaning with some choices already settled and leave the wording of other parts open. Under the generate-and-select approach described in the paper, a grammar supplies candidate phrasings, and a statistical scoring step helps choose among them. The breadth of the candidate space therefore depends in part on what the planner can express in the input.

An input can leave decisions open by underspecifying them. In one of the COMIC examples, the meaning specifies the present-tense copula, the verb that links the subject to the description. Both the full form “is” and its contraction are available through the grammar. The planner can give the realizer that meaning and leave the choice of form implicit. This works because the lexical entries already supply the variation the application wants.

Another option is to enumerate the permissible readings or paraphrases inside the input as an explicit disjunction. In the COMIC product description, “collection” and “series” can be offered as alternate names for the same kind of object. The company’s link to the collection can be expressed through a creator relation, which the grammar realizes with “by,” or through a relation expressed by the possessive. A determiner can be supplied as optional. The resulting input lets the planner specify a family of expressions while leaving the realizer to find combinations that the grammar licenses.

Those choices illustrate why a single mechanism for leaving words unspecified would cover only part of the problem. Swapping “collection” for “series” changes a predicate at one place in the meaning. Using a possessive changes where the company name appears and how it combines with the rest of the noun phrase. The phrasing with “by” places the company after the collection name. The possessive puts it before that name and can serve the grammatical function that would otherwise require a determiner. A representation that allows the planner to vary the relationships as well as the words can express both kinds of choice.

#### Why some paraphrases belong in the plan

It might be possible to change the COMIC grammar so that the product-description variants all realize a single, less specific meaning. White points out a cost of putting that equivalence into the grammar. Its rules would then make the variants available wherever the corresponding categories could be used. The core of the COMIC grammar was shared with FLIGHTS, so decisions tailored to one application had consequences for another. Explicit disjunction gives an application a way to authorize a particular set of paraphrases when the context calls for it.

The paper illustrates the point with a design that has yet to be discussed. COMIC can identify it by pointing and using a demonstrative expression such as “this design,” then saying that it is classic. The system can also introduce it with “here we have” and include the style in the noun phrase. The pointing expression and the introductory construction can do the same job in that dialogue situation. Their structures differ enough that an application-neutral meaning that makes both available would be difficult to specify. A disjunctive input lets the planner offer the alternatives at the level where the choice matters, across the sentence as a whole.

This flexibility matters even when the point of generation is to preserve ambiguity. In the paper’s example about seeing a girl, the hill can be associated with the event of seeing or with the girl. The attachment of the phrase about a telescope contributes further readings. Here the objective can be to express a source ambiguity in the target language. The design introduction has a different objective. The application knows the communicative task, and several formulations can serve it. Both cases call for a representation that can place the same semantic material in different configurations. [Machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/)

A choice can also change which element serves as the head of a construction. The paper gives the contrast between a coordination headed by “but” and a construction in which “although” is subordinate to a main clause. The choice changes the dependency structure of the sentence. An input that permits alternatives only among items at a fixed position would have difficulty representing this pair. White’s proposal allows a disjunction to span levels, so corresponding material can be attached in different places in different branches.

#### What chart realization brought to the problem

A chart is a store of partial analyses or constructions. In realization, it can hold words and phrases built from the input meaning. An agenda keeps track of constructions that have yet to be processed. When the grammar combines chart entries into a larger expression, that expression becomes available for further combinations. Reusing entries in this way is a form of dynamic programming. The paper situates OpenCCG and LinGO in the chart realization tradition and notes that a reversible grammar can support both finding a meaning from a sentence and producing a sentence from a meaning. The same compositional semantics can express how logical operators take scope. [Parsing](https://md.research.elamur.ai/free/en/concepts/parsing/)

The earlier generate-and-select systems Nitrogen/Halogen and Fergus could accept some forms of disjunctive input. In White’s account, their inputs could express alternatives within a level of the input structure. The paper identifies Shemtov’s work as the published chart realization exception known to White at the time and credits it with supporting choices across levels. The distinction mattered for both the attachment ambiguity and the sentence-level paraphrases that motivate the OpenCCG extension. [Exploiting a Probabilistic Hierarchical Model for Generation](https://md.research.elamur.ai/free/en/papers/bangalore-2000-exploiting-probabilistic-hierarchical-model-generation/) · [An Empirical Verification of Coverage and Correctness for a General-Purpose Sentence Generator](https://md.research.elamur.ai/free/en/papers/geary-2002-empirical-verification-coverage-correctness-general/)

Shemtov’s starting point was ambiguity-preserving translation. When multiple analyses have already been packed into a parse chart, a generator needs a way to tell which semantic facts can appear together. Shemtov devised a representation that stored each fact once and attached a logical condition identifying the readings that included it. The conditions had a meaning in relation to the parse chart that supplied them. An application that begins with product information or another nonlinguistic source would have to construct those conditions without that starting point. OpenCCG’s disjunctive logical forms instead start with the kind of meaning description a sentence planner can already produce and extend it with explicit choices.

There was also a question of where to pay for checking that choices fit together. Shemtov’s preliminary algorithm used a compact way to track how much meaning a phrase had covered. The difficulty was that several individually compatible choices could still make a phrase that had no coherent interpretation. His eventual solution carried Boolean coverage conditions and solved constraints while enumerating the results. White retains the earlier idea of compact coverage and gives lexical instantiation and chart construction more information about unsettled choices. The aim is for the chart to group phrases only when they can safely take part in the same further work.

### The method, step by step

#### From a meaning description to a sentence

The easiest way into the algorithm is to follow the company name in the product description. Early in search, the name could go into a phrase headed by “by” or into a possessive. It contributes the same company in both cases, so its chart entry has to remain available to either branch. The word “by” supplies the creator relation and can combine with the name to finish that branch. The possessive marker supplies a different relation and can combine with the same name to finish the other branch. Once both expressions have grown into noun phrases with the same grammatical category and input coverage, the generator can reuse their common continuation.

An edge is the chart’s record for a candidate word or phrase. It holds a grammatical sign, which pairs the word sequence with a category. The category includes both a syntactic description and a logical form. The edge also carries information about what the sign has covered in the input and which choices are still open. The chart uses that information to decide which edges can be combined and when an existing edge can stand in for another.

The paper presents the extension through the two-stage mode. In its first stage, the chart packs alternatives into shared entries while it builds expressions. In its second stage, the realizer unpacks complete expressions and scores and prunes the candidates that emerge. The study also reports a separate anytime setting for finding the single best output. The two-stage account is where the paper explains how packed derivations preserve the different surface forms.

From a disjunctive meaning to ranked realizations The steps in order.

#### Reading the logical form as a graph

A logical form is the realizer’s input description of what a sentence is to convey. OpenCCG uses Hybrid Logic Dependency Semantics, or HLDS. The paper illustrates it with graphs in which a node has a lexical predicate, such as “design,” and may have features such as singular number. Labeled arrows express relationships. A connection can identify the artifact described as being based on a collection, for instance, or identify the company associated with that collection. The labels distinguish the function of the links. [Semantic parsing & meaning representation](https://md.research.elamur.ai/free/en/topics/semantic-parsing/)

HLDS gives each semantic head a nominal. A nominal is a name for a node, so the representation can refer to the same individual from different parts of the graph. A lexical predicate says something about the node, while a modal relation specifies a link or feature. The paper uses the following hybrid-logic pattern to explain how a node and one of its dependents can be described together.

```bibtex
@ᵢ(p ∧ ⟨F⟩(j ∧ q))
```

The satisfaction operator `@` says where the formula in its scope holds. The subscript `i` names that node. The expressions `p` and `q` are propositions, and `∧` joins conditions that hold together. The brackets in `⟨F⟩` indicate a modal relation labeled `F`. The formula requires a node named by `j` to be reachable from `i` via that relation, with `q` holding at `j`. Parentheses group the conditions, placing the description of the dependent inside the scope of the relation. In graph terms, the node named `i` carries `p`, and its `F` arrow leads to the node named `j`, which carries `q`. [Semantics](https://md.research.elamur.ai/free/en/concepts/semantics/)

The product example includes a node for the copula, a node for the design, a node for the “based on” predicate, a collection node, a node for Funny Day, and a company node. The copula node has features for tense and mood. The design has its own determiner and number features. The collection node can have a different lexical predicate in different versions of the same design description. From the collection node, the company is reachable through whichever relationship the planner has offered for that version. The node for the company can remain the same across the choice.

The disjunctive extension uses exclusive-or and optionality. Exclusive-or lets an input specify alternatives from which a realization must satisfy a branch. Optionality allows a region to be expressed or omitted. The paper uses `∨` for exclusive-or and `(·)?` for optionality, with the dot standing for the content in scope. The lexical choice at the collection node illustrates the first operator.

```bibtex
@꜀(collection ∨ series)
```

Here `@` evaluates the formula at the node named `c`, shown as a subscript. The parentheses delimit the material evaluated there. `collection` and `series` are predicate names, and `∨` sets them in an exclusive choice. This local choice leaves the rest of the description, including the identity of the node and its number, available to both branches.

```bibtex
@꜀((⟨DET⟩the)?)
```

The operator `@` locates the description at `c`, the collection node. `⟨DET⟩` marks the determiner feature, and `the` is its value. The parentheses immediately before `?` enclose the optional material. The outer parentheses delimit the description evaluated at `c`. The feature on the collection can consequently be left out in a realization that uses the possessive.

A nominal can also be marked as a shared reference. In the paper’s notation the shared nominal is boxed. For the company, the marker tells the flattening procedure that the content describing the company is part of each alternative that points to it. This matters because a branch can refer to a node whose lexical description is written elsewhere in the logical form. The attachment example uses the same principle on a larger scale. The node for “on” can be a dependent of the seeing event or of the girl, while its connection to the hill retains the same content. A choice can change the link to a subgraph while preserving the material inside it.

#### Flattening the input and recording which parts travel together

The realizer first traverses the logical form and builds an array of elementary predications, abbreviated EPs. An EP is a small statement from the graph. It can assign a word-level predicate to a node, specify a feature of a node, or connect it to a dependent. Each EP has a position in the array. These positions let the implementation use bit vectors, where a bit set at a position means that the corresponding EP belongs to a set.

For a logical form with neither optionality nor disjunction, the conjunction of the flattened EPs describes the original graph. For a disjunctive input, the flat array contains material from different branches. Treating all that material as a conjunction would require mutually exclusive predicates and links to hold at once. The algorithm therefore keeps the array alongside records of which EPs make up each branch and which fall within optional parts. The array supplies an address for each unit of meaning, and the additional records recover the distinctions that matter to realization.

In the product example, the singular number feature of the collection is EP 11, and its optional definite determiner is EP 12. EP 13 gives the collection predicate and EP 14 gives the series predicate. Farther along the same array, EP 17 is the creator link, EP 18 is the link expressed by the possessive, and EP 19 names the company. The numbers are array positions for the product description. They are useful because the branches can now be written as sets of positions, without repeating the content of the predications.

```
alt₀,₀ = {13}
```

`alt` denotes a branch’s membership bit vector. The first subscript `0` names the lexical choice group, and the second `0` names the branch for “collection.” The comma separates group and branch, and `=` gives the vector’s contents. Braces list the positions whose bits are set. Here `13` stands for the EP assigning the collection predicate to `c`.

```
alt₀,₁ = {14}
```

Here `alt` again denotes a branch membership vector, and the subscripts separated by the comma identify group `0` and branch `1`. The equality gives its set of positive bits in braces. The position `14` corresponds to the series predicate. The shared number feature stays outside this lexical choice group, so either noun can contribute it.

```
alt₁,₀ = {17, 19}
```

`alt` marks a branch membership vector. The subscripts `1` and `0` identify the relationship choice group and its creator branch. The equality and braces give the positive positions, separated by the comma inside the set. `17` supplies the creator relation to the company. `19` supplies the company’s predicate.

```
alt₁,₁ = {18, 19}
```

The `alt` vector with subscripts `1` and `1` belongs to the relationship group and records the possessive branch. The equality gives the positions in braces. `18` is the relationship that the grammar expresses through the possessive, and `19` is the same company predication available to the creator branch. The comma within the braces separates those members.

```
opt₀ = {12}
```

`opt` denotes the bit vector of an optional part. The subscript `0` identifies this part of the logical form. The equality and braces specify its positive positions. The single position `12` marks the collection’s definite determiner feature.

The creator and possessive branches show why flattening involves more than collecting the EPs immediately under each operator. When the traversal first encounters those branches, it can collect their separate relation predications. Both relations point to the same company, whose nominal is marked as shared. The procedure follows the shared reference from each relevant branch and adds the EPs found there to that branch’s vector. It propagates membership recursively through shared references. The paper notes that this propagation also applies to optional parts and to the groups of content it calls logical form chunks.

The overlap is intentional. The company predication can go with either relationship. The creator and possessive relations themselves distinguish the branches. A valid set may use the company together with either relation. A set containing both relation EPs would use the distinguishing material of incompatible branches of the same group. The exclusion constraint checks the nonoverlapping material of the alternatives, so sharing a company can never by itself put an edge in violation.

#### Distinguishing expressed meaning from satisfied input

A basic chart realizer can test completeness by asking whether a sign accounts for every part of its input. Disjunction changes what it means to account for a part. Once an edge has all the EPs of a branch, the choice represented by that branch has been satisfied. OpenCCG marks the whole group as covered in the edge’s coverage vector. This is a bookkeeping operation. The sign still has the words and logical form of the particular branch it realizes.

The paper’s noun example makes the distinction concrete. The entry for “collection” expresses its lexical predicate and the singular feature. This completes its branch of the lexical choice, so its edge receives credit for positions 11, 13, and 14. The entry for “series” expresses the singular feature and its own predicate. It completes the other branch and receives the same coverage. Because the nouns also have equivalent syntactic categories in the example, they can occupy the same equivalence class in the chart. A subsequent rule that needs a noun with that coverage can use the representative. The realization history still records the alternative.

An unfinished branch requires different treatment. The entry for “by” covers EP 17 and leaves the creator branch active. The possessive marker covers EP 18 and leaves the possessive branch active. At this point, neither edge has the company predication needed to finish its branch. The edge for the company name covers EP 19. Because that predication is shared, the company edge has both branches active. An active branch thus describes a way to finish a choice whose content the edge has begun to express.

An optional part can also count as covered when the sign omits it. The operation produces an edge with the same sign and an updated coverage vector. It can only treat the optional part as omitted when the whole part is missing from the edge. This condition matters for optional parts that contain multiple predications. A phrase that expresses some of an optional region still has something to finish, and the omission operation cannot credit the missing pieces while leaving the expressed pieces in place.

With these conventions, the endpoint of search is stated uniformly. A complete edge has coverage for all input EPs. A path to that coverage can use an overt expression, finish a branch that satisfies a disjunction, or receive credit for a wholly omitted optional part. For the product description with “series” and the possessive, EP 14 settles the lexical choice. EPs 18 and 19 settle the company relationship. The omitted determiner can be marked as covered through the optional-part operation. The resulting coverage tells the generator that the input requirements have been met even though the sign expresses only the chosen variant.

The equivalence check compares the syntactic category and the coverage vector. The edges in an equivalence class can have different word strings or logical forms, as they do when they take different completed branches. The implementation uses a hash map with hashing and equality checks defined for this comparison. An edge also stores indices for nominals that are syntactically available to it. Those indices identify referents that can participate in further grammatical combinations. They serve a different purpose from the bits that identify the EPs already covered.

#### Finding words and expressions for pieces of the input

Once flattening is complete, the realizer looks up lexical items using the lexical predicates and relations in the EP array. A lexical entry may describe several EPs. The lookup starts from the EP that retrieved the entry, then extends the match across the entry’s remaining predications. This instantiates the entry, giving its semantic variables the particular referents and content found in the input. An attempt succeeds when it can match the entry’s full set of predications and satisfy the alternative exclusion constraints.

Testing the complete set for a lexical entry matters because a single lexical choice can contribute meaning to more than one place. If each local match were accepted independently, predicates from mutually exclusive branches could be assembled inside the same lexical edge. The realizer tests the collection of predications together. For each successful instantiation it records the initial coverage, determines which branches are active, and expands coverage for any disjunction whose branch has already been completed. It then creates an edge for the instantiated entry.

The sample lexicon supplies a noun with singular number and the appropriate predicate for each of “collection” and “series.” It also supplies entries that express the relation to the company through “by” or through the possessive marker. In CCG, grammatical categories describe the kinds of expressions a word or phrase can combine with and the category that results. A category can encode the side on which an argument is expected. That is how the grammar can assemble the company name after “by” and before the possessive marker. [Syntax & grammar formalisms](https://md.research.elamur.ai/free/en/topics/syntax-grammar/)

The expression “based on” illustrates why lexical lookup is described in terms of entries and predications. Its chart edge contributes the predicate and the connections to the artifact and the source. Grammatically it expects a phrase for the design to its left and a phrase for the collection to its right. Meaning and syntax give complementary information. The semantic connection identifies the object that a phrase must describe. The syntactic category constrains where that phrase can go and what the combined expression can become.

The categories in the example also explain why some branching can be postponed. Choosing between “collection” and “series” leaves the same grammatical possibilities open for the noun, so either one can serve as the basis for a phrase modified by “Funny Day.” Choosing between “by” and the possessive leaves different grammatical possibilities open at first. The former builds a modifier that can follow a noun. The latter builds an expression that can combine with a noun to form a noun phrase. The chart has a reason to keep those routes distinct until they arrive at the same type of phrase with the same coverage.

#### Combining edges on the chart

The lexical edges go onto the agenda. On each iteration, the realizer takes an edge from the agenda and checks whether the chart already contains a representative for its equivalence class. If so, it adds the edge as an alternative under that representative. When the edge opens a new class, the algorithm attempts grammatical combinations with applicable chart entries and applies the grammar’s unary rules, which operate on a single edge. New edges enter the agenda. The packing phase continues until the agenda is empty.

Before trying a grammatical combination, the realizer examines the coverage vectors. Their sets of positive bits must be disjoint. This condition prevents both sides of a combination from claiming the same part of the input. The condition also takes advantage of the extra coverage granted for a completed choice. Once an edge settles a disjunction, it occupies the whole group for coverage purposes. Another edge that claims some of that same group cannot be added as though the choice remained open.

The noun alternatives illustrate both reasons to reject a combination. They share the singular feature at EP 11. Their vectors also have both lexical predicate positions set because each noun has satisfied the whole choice. Giving the stored entries a common representative allows either to appear in later derivations. Treating them as pieces to combine would try to use the same input more than once.

When neither edge has completed a choice, simple coverage overlap can miss a conflict. “By” and the possessive marker have different EPs, so their coverage vectors can be disjoint. Each commits to a different branch of the same company relationship group. The algorithm therefore checks the sets of active alternatives for any group active on both edges. Those sets must have at least one alternative in common. The two markers fail that test. The company name passes it with either marker because its active alternatives include both branches.

When an allowed grammatical combination succeeds, the resulting edge starts with the union of its inputs’ coverage. The algorithm determines the active alternatives for the new edge and then awards coverage for any branch that the combination completes. The pairing of “by” with the name, for instance, brings EP 17 together with EP 19. The resulting modifier satisfies the company relationship choice and receives coverage for EP 18 as well. The possessive route arrives at the same coverage for the relationship group through EPs 18 and 19. At that point the two routes still have different syntactic categories.

The optional-part operation runs in the course of applying unary rules. The realizer attempts it when the omission would finish the input, a branch, or a logical form chunk. A chunk is a prescribed group of content that helps the search avoid carrying forward semantically incomplete phrases. For a branch or chunk to be completed by omission, the optional content must belong to that branch or chunk. These conditions indicate when the system considers the possibility of leaving something out. They keep it from creating a new omission edge at every point where some optional EP happens to be absent.

#### Following a packed noun phrase

The partial chart in the paper shows how these decisions interact. “Funny Day” starts as a modifier of the noun. It can attach to the representative for “collection” and “series,” with the resulting derivation pointing back to that packed noun entry. Elsewhere in the chart, the creator marker combines with the company name to build a modifier that can follow the noun. The possessive marker combines with the name to build an expression that can precede it. Both relationships have now satisfied the same semantic choice. Their syntactic differences still determine which grammar rules can apply.

The creator route combines the named collection with the following company modifier, then takes the definite determiner to become a noun phrase. The possessive route becomes a noun phrase by attaching the company’s possessive expression to the named collection. At this point the determiner distinguishes their coverage. The entry for the possessive can undergo optional-part completion, adding the determiner’s coverage without adding a word. Now both noun phrases have the same syntactic category and coverage, so the possessive version can join the class represented by the phrase with “by.”

This is where sharing can extend beyond the point at which the words diverged. Lower in the derivation, the chart shares the use of the named collection across the noun choices. Higher in the derivation, it can share later applications of that noun phrase across the choices of company construction. The sentence can still obtain different word sequences from those choices. The grammar has already checked how the alternatives fit together at the points where they become interchangeable for further derivation.

The example also shows why finishing a semantic choice and packing an edge are distinct events. The “by” modifier and the expression formed from the possessive can each complete the company relationship group. They become syntactically equivalent only after their respective routes have made noun phrases. Their coverage becomes equivalent after the optional determiner is dealt with. Each condition controls a different part of the search, and all of them matter in deciding when future work can be shared.

#### Recovering and ranking the phrasings

After the packing phase, the realizer unpacks complete realizations recursively from their constituent edges. A representative derivation records which earlier edges were used. During unpacking, the realizer substitutes the alternatives attached to those edges and combines the resulting possibilities. In the paper’s example, the derivation for “Funny Day collection” points to a modifier with no alternative in that example and to a noun with “series” stored under its representative. Unpacking can therefore create “Funny Day series” from the same recorded combination.

The new phrase is scored and kept if the configured pruning strategy allows it. A retained alternative can in turn be used in the larger phrases that depend on it. At each step, the method removes duplicate edges caused by derivational ambiguity, where distinct derivations yield a duplicate result. The scoring and pruning methods are configurable. During this stage, the system can construct edges using shared structures because it has already verified the grammar and input constraints while building the chart. It does not have to solve those constraints again for each accepted substitution.

Pruning matters to what the final search returns. A packed chart can hold derivational possibilities whose combinations would be expensive to enumerate in full. Unpacking permits a scoring procedure to rank candidates and a pruning procedure to limit how many survive to be used higher up. When the paper discusses a list of best realizations, it refers to outputs under the configured search and scoring conditions. The product example explains what happens to a particular alternative if it survives. It supplies no general claim that every alternative survives every pruning configuration.

The OpenCCG implementation is the paper’s software contribution. The algorithm itself is specified by the grammar, the input logical form, and the search procedures. The case study constructs its inputs by augmenting existing logical forms and uses trigram scoring for the runs. The paper gives no separate training procedure for the disjunctive extension or training data for the scorer. Its methodological change is the representation and handling of alternatives during search. [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

### Experiments and results

#### How the comparison was built

The study asks how much work OpenCCG saves by accepting a disjunctive logical form directly. The baseline runs the realizer separately for corresponding top-level alternatives. Those expanded alternatives are conjunctions presented one at a time, with the choice among them moved to the top level. In earlier COMIC work, the sentence planner already produced disjunctive logical forms. As a temporary method, those forms were expanded and handed to the realizer sequentially until an overall time limit was reached. That procedure supplies the practical motivation for the comparison in the paper.

The experiment uses the COMIC grammar. White describes it as relatively small, with few categories per lexeme on average. It nonetheless permits substantial search variation because of the grammatical categories for boundary tones. A boundary tone is an intonational choice associated with a phrase boundary. In this grammar, the tone categories produce alternatives even when the amount of lexical category ambiguity is modest. The paper accordingly treats the measured times as dependent on the grammar.

The data come from 104 sentences selected from an earlier evaluation of COMIC. The logical forms for those sentences served as a starting point. White manually extended them so that each could express a broader collection of paraphrases licensed by the grammar. The paper describes no train and test split for this runtime study. The reported averages concern the selected COMIC inputs after augmentation.

The sequential baseline needed a set of expanded logical forms for each case. The authors performed 100-best realization and collected the distinct logical forms of the top 100 realizations. These are the expanded alternatives used in the comparison. The reported average was 29 distinct logical forms per input under this procedure. Uniqueness was assessed at the level of the meaning representation. Several surface outputs can have the same logical form, just as full and contracted wording can realize one meaning.

This procedure matters for understanding the benchmark. The baseline receives alternatives identified through realization, and its measured time begins after those alternatives have been obtained. The measured sequential cost is the sum of the realization runs for an input, excluding the time spent generating its alternatives. The paper therefore compares one direct search with the aggregate cost of the supplied separate searches. The cost of preparing the expanded baseline inputs is outside the timing.

The experiment runs under two output settings. The 10-best condition uses the two-stage packing and unpacking search. The single-best condition uses anytime search with 3-best pruning. Both conditions include the cost of trigram scoring, and times were measured on a 2.8GHz Linux PC. The two settings differ in both the search mode and the requested output, so the controlled comparison is between direct and sequential realization within each setting.

#### Time and chart edges

For 10-best output, direct disjunctive realization averaged 1.1 seconds per COMIC input. The aggregate sequential realization time averaged 5.6 seconds. In the single-best anytime condition, the corresponding averages were 0.5 seconds and 4.1 seconds. The paper describes these runtime gains as a 5-fold speedup for 10-best output and an 8-fold speedup for single-best output.

Direct and sequential realization on COMIC by mean runtime Direct realization takes less time in both output settings.

**The numbers**

| System or setting | seconds |
| --- | --- |
| 10-best two-stage, sequential | 5.6 |
| 10-best two-stage, disjunctive (this paper) | 1.1 |
| 1-best anytime, sequential | 4.1 |
| 1-best anytime, disjunctive | 0.5 |

The edge counts follow the same pattern. For 10-best output, the direct method created an average of 602 edges per input, and the sequential runs created an aggregate average of 3550. In the single-best anytime condition, the averages were 281 edges with the direct method and 2854 with the sequential approach. Counting edges measures how many lexical or derived chart entries the system constructed. Even entries that are later packed under a representative have to be created in order to be recorded.

Direct and sequential realization on COMIC by mean edges created The disjunctive input yields fewer constructed edges in each setting.

**The numbers**

| System or setting | edges |
| --- | --- |
| 10-best two-stage, sequential | 3550 |
| 10-best two-stage, disjunctive (this paper) | 602 |
| 1-best anytime, sequential | 2854 |
| 1-best anytime, disjunctive | 281 |

Elapsed time includes scoring as well as the work of realizing the input. An edge count is a closer view of how much chart construction each route performed. Seeing both measures drop is consistent with the explanation that one disjunctive search can build shared phrases without recreating them for each expanded input. The counts represent edges created over a run, so they give no direct measurement of how many edges were in memory at once. The benchmark also gives no breakdown of time spent in lookup, checking, packing, or unpacking.

White judges the observed times compatible with interactive dialogue use, especially for the single-best anytime setting. That judgment concerns the measurements for these COMIC inputs on the reported computer. The paper does not supply a separate measurement of end-to-end dialogue latency. It also reports that the outputs looked very good on manual inspection, while making clear that quality was outside the evaluation. The result with direct empirical support is the reduction in time and chart construction under the tested conditions. [Dialogue systems](https://md.research.elamur.ai/free/en/topics/dialogue-systems/)

### What the ablations show

The paper has no component ablation. It compares complete direct and sequential realization procedures, demonstrates individual operations in a worked chart, and analyzes how the algorithm handles a consistency problem in Shemtov’s earlier approach. These give different kinds of evidence about why the method works and how much search it saves.

#### What the paired runs isolate

Within the 10-best setting, the experiment asks how much effort is spent when the realizer handles the alternatives together through a disjunctive input, compared with processing expanded logical forms in separate runs. Holding the output setting and scorer fixed gives a comparison of the two ways of organizing search. The direct method has extra work to do in checking alternative membership, but it can carry shared constituents forward once. The lower number of constructed edges shows that the resulting search involves fewer chart entries overall.

The single-best setting repeats the direct-versus-sequential contrast under anytime search with 3-best pruning. The advantage survives that change of output setting. That establishes that the reported saving occurs in a configuration for returning one output as well as in the configuration for returning a list. The paper changes the search mode and output target together between these settings, so their results cannot isolate the effect of requesting a shorter list. Similarly, the larger reported speedup in the anytime condition cannot be attributed to pruning alone.

The measurements evaluate a package of changes. Direct realization uses a common input, keeps branch membership, revises coverage and edge equivalence, and handles optional parts within that search. The baseline organizes the work as separate realization calls. The study gives no independent cost or saving for individual changes such as the shared-reference traversal, the active-alternative check, or the new equivalence test. Their roles are described through the algorithm and its examples, while the timing result applies to the package.

#### What the worked derivation explains

The two nouns in the diagram explain the immediate value of extended coverage. Each one satisfies its lexical branch, which gives it the same coverage for the purpose of further derivation. The “Funny Day” modifier can attach to the packed entry once. The chart does not measure how much time that particular operation saves. It demonstrates the point at which an otherwise repeated grammatical combination becomes common to both phrasings.

The company name demonstrates why membership has to allow overlap. Its EP can be active in either branch because both branches include the same company. The chart can use that edge when it builds the creator modifier, and it can separately use the same edge when it builds the possessive. The two relation markers have different active branches, so combining them would violate the choice even though they contribute different EPs. This shows what the active-alternative check tests in addition to coverage overlap.

The determiner demonstrates a separate source of sharing. The possessive phrase and the phrase with “by” reach the same syntactic category. Only the latter uses the independent definite article. By marking the optional EP as satisfied in the possessive version, the realizer lets both phrases take part in the same future combinations. The example explains why exact equality of expressed predications would miss opportunities to reuse a derivation even when the planner explicitly permits the difference.

These checks have distinct responsibilities during the life of a chart edge. Shared membership keeps the same referent usable in several branches. Active alternatives track commitments while a branch remains incomplete. Extended coverage records the fact that the planner’s choice has been satisfied. Optional-part completion equates the coverage consequences of expressing an optional feature and leaving it out in a grammatical phrase. The worked derivation shows those responsibilities in operation. It supplies no quantitative ranking of their contributions.

#### What the comparison with Shemtov establishes

Shemtov’s preliminary method faced a consistency problem when predicates were shared by alternatives. The paper describes the method as arc-consistent but not path-consistent. In this context, pairwise tests could succeed even when the combinations already made could not all belong to a coherent set of branches. A procedure that remembers only the success of separate checks loses the information about which alternative made each check succeed.

White’s account addresses that problem at two points. Lexical instantiation considers the candidate lexical edge’s full EP set for exclusion, which prevents a lexical edge from collecting incompatible pieces through a series of individually successful matches. Later combinations use the active-alternative sets, so a phrase that has begun to realize a particular branch carries its commitments forward. An edge shared by several branches keeps all the compatible possibilities available until further material narrows them or completes the choice.

Shemtov’s eventual algorithm used an array of Boolean coverage conditions where the preliminary approach had used a bit vector. As White explains it, entries grouped during chart construction could still differ in which derivations were valid. The generator had to solve a system of conditions during enumeration to prevent overgeneration. That system could grow exponentially. OpenCCG’s revised coverage and active-branch checks place the relevant decisions in lexical instantiation and chart construction, allowing unpacking to reuse combinations that have already been checked.

This is a comparison of representations and when their associated work takes place. The benchmark does not run Shemtov’s algorithm. Its numerical results support a runtime comparison with sequential realization of alternatives. The discussion of Shemtov supports the claim that OpenCCG uses a simpler strategy for tracking these choices and explains how it avoids the specific defect identified in his preliminary method.

### Limitations

#### Limits stated by the author

The author presents the experiment as an initial case study. Its grammar is the one used by COMIC, with relatively modest lexical ambiguity and substantial variation from boundary-tone categories. White expects timings to vary with other grammars and leaves a broader study of efficiency for future work. The paper suggests that the approach could be used with other constraint-based grammatical frameworks, while the implementation and measurements concern OpenCCG.

The richer inputs in the benchmark were created manually from existing COMIC logical forms. The author leaves it to future work to extend the sentence planner so that it can generate those augmented forms. The study therefore starts with explicit choices already represented in the input. Its timing omits the application’s work of deciding which paraphrases make sense in a given dialogue and encoding them as alternatives. That work matters if the sentence planner is to produce these richer choices as part of ordinary system operation.

The paper states that realization quality was outside the case study. Its manual inspection gives the author a favorable impression, and the reported measurements concern time and edges. They leave open how the methods compare on grammaticality as judged by readers, meaning preservation, appropriateness in dialogue, and usefulness of the ranked lists. The experiments also give no result on whether the selected phrasings produce better synthesized speech.

The conclusion reports uses around the time of publication. One generated lists for reranking on predicted synthesis quality. Another used realization to generate dialogues that exhibited individuality and alignment. They show the kinds of work for which the generator had been used. The paper gives no evaluation of those applications, and the timing figures belong to the separate COMIC case study.

#### Limits of what the setup establishes

The sequential baseline is practical because it resembles the system’s earlier way of handling multiple logical forms. The alternatives it receives come from the distinct meanings found among the top 100 realizations. That procedure does not exhaustively enumerate every meaning a disjunctive input might permit. The comparison is consequently tied to the alternatives identified in this way and the grammar that produced them. The measured sequential runtime also starts after preparation of the expanded inputs. A comparison that includes the cost of constructing expansions would be answering a broader question than the one represented by the results.

The paper reports averages over its selected sentences. These show aggregate performance and leave the distribution of individual cases unspecified. An application that needs to respond promptly on every turn would also care about the slow inputs and the kinds of disjunction that produce them. The averages give no way to tell whether the savings are spread evenly across the sentences or concentrated in cases with particular opportunities for reuse.

The work explains how an edge becomes shareable, which also indicates where the savings can depend on input structure. If alternatives use compatible pieces and lead to the same syntactic category with the same satisfied input requirements, construction above that point can be reused. Alternatives that continue to demand distinct grammatical categories or distinct coverage will remain separate longer. The experiments do not vary how late that convergence happens or measure performance as the number or depth of disjunctions changes. A general scaling claim would need evidence beyond the reported case.

The edge counts are a measure of construction work. They leave memory use, storage of alternative derivations, and the separate cost of unpacking unmeasured. The paper also uses pruning in the evaluated search. It does not establish how much work would be necessary to enumerate every valid surface form, nor does it verify that direct and sequential search return identical rankings. Such questions concern candidate coverage and ranking accuracy, whereas the benchmark measures the cost of obtaining outputs under the stated search configurations.

The meaning representation permits a planner to offer context-specific paraphrases, but the grammar and search do not independently decide whether those alternatives serve the same communicative purpose. In the design introduction, the planner supplies the choice between a pointing construction and wording that introduces the design directly. Whether pointing is possible or helpful depends on the application’s situation. The paper deliberately simplifies its illustrated graphs by omitting information about gestures and information structure, along with the semantic sorts of discourse referents. Consequently, the worked examples explain the mechanics of choosing a realization without fully specifying what a multimodal system would have to coordinate when using it.

The attachment example similarly establishes an expressive possibility. A logical form can contain branches that make the hill attach in different places and share the material common to those readings. The study does not test ambiguity-preserving translation or measure whether a target sentence preserves every reading. The evidence that the representation can encode a choice and the evidence about the cost of realizing COMIC inputs address different questions.

### What came after

Two later citing works take up problems at different points in generation. Hypertagging focuses on the grammatical choices available in CCG surface realization. The work on tailored comparative descriptions focuses on how generated content is phrased and spoken in context. Their connection to chart realization can be understood from the generation decisions they study. The particular algorithmic dependencies are unspecified.

[Hypertagging](https://md.research.elamur.ai/free/en/papers/espinosa-2008-hypertagging-supertagging-surface-realization-ccg/) brings supertagging to CCG surface realization. In this setting, supertagging concerns the rich grammatical categories associated with lexical options. That places its focus near the stage where the chart realizer retrieves entries and determines which ways of expressing a piece of input are available. White’s disjunctive algorithm addresses a different source of choice at that stage. Its input can deliberately offer more than one predicate or relation, and the chart must recognize which lexical realizations belong together. The later work cites this paper, but its use of the disjunctive input representation or the packed edges is unspecified.

[Generating Tailored, Comparative Descriptions](https://md.research.elamur.ai/free/en/papers/white-2010-generating-tailored-comparative-descriptions-contextually/) pairs the generation of comparative descriptions with contextually appropriate intonation. The connection to the earlier paper is the division of work between the application, which has information about the situation and what should be conveyed, and realization, which supplies grammatical expressions for that content. The COMIC study already shows that a spoken application can give the realizer alternatives whose usefulness depends on context. It also includes a grammar in which boundary tones are a source of search variation. The later citing work takes tailoring and intonation as explicit generation objectives. Its particular reuse of the disjunction and chart operations is unspecified.

The earlier paper’s contribution sits between those concerns. It gives the planner a way to express permissible alternatives, and it gives the realizer a way to search through them while sharing grammatical construction. Lexical category selection concerns which grammatical options are worth exploring. Tailoring and intonation concern which expressions serve the situation. The COMIC case study measures the cost of bringing explicitly represented alternatives through realization, leaving those lexical and communicative decisions to the components responsible for them.

## Cite

Cite as Michael White. 2006. CCG Chart Realization from Disjunctive Inputs. Proceedings of the Fourth International Natural Language Generation Conference.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{michael2006ccg,
  title = {{CCG Chart Realization from Disjunctive Inputs}},
  author = {Michael White},
  booktitle = {Proceedings of the Fourth International Natural Language Generation Conference},
  year = {2006},
  doi = {10.3115/1706269.1706274},
  url = {https://doi.org/10.3115/1706269.1706274}
}
```

> 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)
