Elamur Research

Towards an Encyclopedia of Compositional Semantics: Documenting the Interface of the English Resource Grammar

Paper · 2014 · Dan Flickinger, Emily M. Bender and Stephan Oepen

Summary

A grammar can produce a detailed representation of a sentence’s meaning while leaving its users unsure how to read it. The English Resource Grammar, or ERG, makes this problem concrete. It can analyze an utterance and work in the other direction, generating wording from a formal meaning representation. Its analyses embody years of decisions about which differences in wording matter for semantics. A user looking at a representation may need to know why a proper name contains a compounding relation, which parts of the output encode that relation, or whether a different sentence construction would receive the same analysis. The paper describes an encyclopedia that would make those decisions accessible and keep them open to inspection as the grammar changes.

The encyclopedia connects a written account of each phenomenon to a formal pattern and a set of small test sentences. The formal pattern, which the authors call a semantic fingerprint, specifies the identifying piece of an analysis in Minimal Recursion Semantics, or MRS. A fingerprint can leave out details such as the words used in the example while requiring particular relationships among the remaining pieces. A fingerprint for noun compounds, for example, can match both an ordinary noun compound and the ERG analysis of the name Harry Nilsson. To decide what to document, the authors first examine which rules and lexical categories contribute semantic material. They group similar contributions, inspect them with examples from running text, and simplify examples into test sentences. For analyses judged stable, a target fingerprint makes it possible to check whether the intended pattern survives a grammar revision.

The grammar already had substantial coverage when the authors began this work. Its development started in 1993, and the paper reports 222 syntactic rules, 84 lexical rules, and a hand-built lexicon of about 38,000 lemmata, or base forms. The ERG typically produces complete analyses for 85 – 95 percent of utterances in standard corpora across several domains. The LinGO Redwoods Treebank supplied gold-standard analyses for 85,400 utterances by mid-2013, including the first 22 Wall Street Journal sections of the Penn Treebank. The new semantic test suite served a different purpose. It contained about 65 short sentences chosen to make particular representational decisions easy to see.

The documentation was still being built. The authors report that reviewing compounds exposed inconsistent predicate names for closely related analyses and led them to adopt a common name. Their open repository was intended to support further documentation, corpus searches, and comparison with schemes such as PropBank, FrameNet, and Abstract Meaning Representation. Those schemes provide guidance for human annotation. The encyclopedia describes analyses produced by a grammar whose decisions must work together whenever a sentence combines several phenomena. The paper demonstrates the value of making those decisions explicit through worked examples and a documented grammar revision. It leaves large-scale measurement of fingerprint coverage and regression testing to subsequent work.

Deep dive: Towards an Encyclopedia of Compositional Semantics: Documenting the Interface of the English Resource Grammar

The English Resource Grammar’s semantic fingerprints show how to document, find, and test recurring patterns in sentence meaning. · about 31 minutes to read

The problem and its context

What a grammar user needs to know

A broad-coverage grammar gives users access to many analyses through the same interface. Its output can be regular enough for a program to process and still be difficult for a person to interpret. A predicate name tells the reader that the grammar has introduced a relation. To use the analysis confidently, the reader also needs to know what triggers that relation, which participants it connects, and how much meaning the grammar commits to by introducing it. Each of those questions can require knowledge of several parts of the grammar. An entry can explain them together and show examples small enough for the reader to follow.

Consider a phrase in which a noun modifies another noun. The grammar has to express that the nouns participate in a compound and indicate which one functions as its head. The exact relation between the things the nouns denote can depend on vocabulary and context. The paper’s compounding example makes it possible to separate what the grammar expresses from the interpretation a reader supplies. The same issue arises with complex names. A reader can infer that Harry is likely a given name in Harry Nilsson. The grammar’s representation records the elements of the name and their structural connection at a more general level. Someone inspecting the output needs an explanation of that choice, especially when the construction’s usual linguistic label gives little warning that it shares a representation with ordinary noun compounds.

The ERG is an implementation of Head-driven Phrase Structure Grammar for English. In this approach, a word or phrase is described with constraints on both its syntactic and its semantic behavior. The ERG uses such descriptions for parsing and generation. During parsing, it derives candidate analyses for an input utterance. In the other direction, a meaning representation specifies the semantic material that a generated utterance has to express. The paper traces the ERG’s design back to work on unification-based grammar engineering at Hewlett Packard Laboratories. Unification brings together compatible pieces of information specified by the grammar. A description used in multiple constructions can thereby participate in each under the constraints relevant to that use. Processing English with a Generalized Phrase Structure Grammar

The grammar’s semantic analyses are compositional. A larger phrase carries the contributions of its components, and the rule that forms the phrase can supply a contribution of its own. The paper calls the preservation of contributions monotonicity. A piece of semantic content introduced at one point in a derivation stays present as the grammar builds larger constituents. An analysis of a construction consequently depends on at least two kinds of questions. One concerns which predications come from the words. The other concerns what the grammar contributes when it puts those words together. Explaining only the word meanings leaves some of the composition invisible.

Long-term development makes this a documentation problem as well as a linguistic one. The paper describes an investment of some twenty-five person years in the grammar, with many decisions made in the course of accommodating real language. Such decisions can be sensible where they first arise and still need reexamination once the grammar handles related constructions. When an analysis is documented alongside its neighbors, a difference in output becomes a question that can be investigated. The developers can ask what linguistic difference it expresses and what would happen if the analyses were made more uniform. A user can see which distinctions are intentional and which remain under review.

What existing resources explain

The authors distinguish their task from the main questions they ascribe to theoretical work on compositional semantics. Work on predicate–argument structure asks how to represent a relation and its participants. Work on scope asks how to represent which expression has semantic effect over which others. A broad grammar must make those foundational choices and apply them consistently across a range of constructions encountered in actual texts. It must also decide when several syntactic forms should converge on the same representation. The encyclopedia is concerned with how those commitments are realized jointly in one grammar, down to the details a reader can locate in a particular output.

The paper finds the closest analogues in three sets of guidance for large-scale linguistic annotation. PropBank and FrameNet focus on selected predicates and the expressions related to them. The paper says PropBank leaves noun–noun compounding outside its remit. FrameNet can analyze the contribution of the modifying noun when the head noun evokes a frame, a structured account of the concept and associated roles. The guidelines for both leave conditionals without a specified representation. Those choices fit resources that ask annotators to identify selected aspects of meaning. An ERG analysis must account for the effects of a conditional if the grammar is to use its semantics in parsing and generation. Components that contribute no semantics must have that status accounted for in the grammar as well.

Abstract Meaning Representation, or AMR, offers a different comparison. The paper describes it as aiming to span the utterance while allowing its meaning representation to be relatively independent of the syntax of the wording. That design leaves room to omit contributions from particular expressions. The ERG has to mediate between semantic representation and the syntactic structures it parses or generates. It can still bring different forms together semantically, but how it does so is part of what needs documenting. The authors identify infinitival clauses expressing purpose as a place where all the resources make representational choices. Shared phenomena of this kind give a comparison a relatively concrete starting point. A reader can inspect what each scheme represents for the same construction.

The broader setting is semantic parsing, the mapping of language into formal representations of meaning. The paper describes some earlier efforts as seeking representations adapted to a particular application. The ERG’s interface has a more general aim. It attempts to represent the cues to speaker meaning supplied by the conventional meaning of the utterance, so that different applications can use the result. This combines demands from grammatical analysis, formal semantics, and software development. The analysis has to compose with syntax and morphology, which concerns word structure. Its interpretation matters for logic and inference. For applications, its details have to be legible and sufficiently stable to build on. Documenting an actual inventory of decisions gives these communities a shared object to examine. Scaling Semantic Parsers with On-the-Fly Ontology Matching

The method, step by step

From grammar rules to testable descriptions

The authors begin with the analyses the ERG implements. They look for rules and lexical categories that appear to contribute semantically distinctive material and group candidates that add similar predicates. Examples from an annotated corpus let them see how the candidates behave in context. They use those examples and their knowledge of the grammar to decide what belongs in a single phenomenon, where an entry needs to distinguish subtypes, and which sentences best exhibit the resulting analysis. The written entry explains the phenomenon to a reader. The fingerprint states the configuration a program can look for. The test sentence provides a controlled setting in which to inspect that configuration.

From grammar components to semantic regression tests

The steps in order.

From grammar components to semantic regression testsStep 1: Select grammar components with distinctive semantic contributions1. Select grammar components with distinctive semantic contributionsStep 2: Group candidates by predicates within each component class2. Group candidates by predicates within each component classStep 3: Retrieve short corpus examples for each candidate3. Retrieve short corpus examples for each candidateStep 4: Review groups and distinguish semantic variants4. Review groups and distinguish semantic variantsStep 5: Simplify examples and select their intended analyses5. Simplify examples and select their intended analysesStep 6: Document the phenomenon and specify its fingerprint6. Document the phenomenon and specify its fingerprintStep 7: Check stable targets after grammar revisions7. Check stable targets after grammar revisions

Reading the representation

Minimal Recursion Semantics is the language in which the ERG expresses its analyses. It gives the grammar a way to combine pieces of meaning while leaving certain decisions about scope open. Scope concerns the range over which an expression such as a quantifier operates. A representation can specify some of the constraints on scope while leaving a more fully resolved reading for a later stage. The paper concentrates on the pieces of an MRS and their composition. Its notation identifies the main components of an analysis as follows.

⟨T, R, C⟩

The angle brackets enclose an ordered triple. T is the global top handle, an anchor for the representation as a whole. R is the collection of elementary predications. C is the set of constraints relating handles. An elementary predication, or EP, expresses a relation under a predicate name and identifies its arguments through labeled roles. It also has a handle that serves as its label. Shared labels can group predications together. The commas in the triple separate its components.

A predicate can come from a word or from a rule. Its roles tell the reader how it connects to other pieces of the representation. The ordinary role labels run from ARG0 through ARG4. An EP’s ARG0 is its intrinsic argument. A noun usually introduces an instance variable there, and a verb usually introduces an eventuality variable. An eventuality is the semantic object associated with something like an activity or a state. ERG predications for adjectives, adverbs, and prepositions introduce eventualities as intrinsic arguments too. Roles such as ARG1 and ARG2 identify other arguments of a predicate. Their interpretations are stable within a given predicate. Interpreting the same role label for another predicate requires looking at that predicate’s analysis.

The example about Harry Nilsson covering a song shows how this works. The verb’s predication connects a covering event to the person who did the covering and the song that was covered. The adverb’s predication has its own intrinsic eventuality and points to the covering event through another role. The adverb and the verb also share a label. Here is the verb component, with the character span omitted.

h₂:_cover_v_1(ARG0 e₃, ARG1 x₁₁, ARG2 x₆)

h₂ labels the predication. The colon separates that label from _cover_v_1, the identifier for the covering predicate in the example. Parentheses enclose the listed role–argument pairs, and commas separate them. ARG0 supplies the covering eventuality e₃. ARG1 points to the instance x₁₁ associated with Harry Nilsson. ARG2 points to the song’s instance x₆. The subscripts distinguish variables in the representation. The grammar gives the same semantic roles to the person and the song in the corresponding active construction. A reader examining the predicate can therefore follow those roles across a change in which participant appears as the syntactic subject.

Quantifiers make use of two special roles. RSTR points to the restriction, which determines what the quantifier ranges over. BODY is the handle for its body, the part of the interpretation over which it has scope. The ERG’s handle constraints use equality modulo quantifier insertion. The top constraint in the covering example illustrates the notation.

h₁ =q h₂

h₁ is the global top handle, and h₂ is the label used by the covering and later predications. =q expresses equality modulo quantifier insertion. The constraint relates the handles while allowing quantifiers to intervene under the scope machinery of MRS. Handles thus do internal work in the formalism. The paper distinguishes that work from the role of instance and eventuality variables in a predicate-logic interpretation.

The most specific variable types are e for eventualities, x for instances, and h for handles. An instance can correspond to a referential entity or an abstract one. When the grammar leaves a type less specific, it can use i for the supertype shared by eventualities and instances, p for the one shared by handles and instances, or u for a general type that subsumes the others. A variable may also have properties. TENSE and SF, or sentence force, are examples for eventualities. NUM and PERS, or number and person, are examples for instances. Their values come from an organized inventory that can express information at different levels of specificity. This is another place where the representation can carry what the syntax and word forms determine while leaving other choices open.

Constants work differently from variables. A predicate can record one under the pseudo-role CARG. In the name analysis, separate named predications have the constant values Harry and Nilsson. The predications also introduce instance variables, and another predication links those instances as a compound. This gives the representation access to the literal name elements and to how the grammar put them together. A fingerprint for compounding can use the links among the variables without requiring either literal value.

Turning part of an analysis into a fingerprint

A fingerprint describes a particular configuration inside a larger MRS. It can ask for a predicate, its arguments, and some of the links that make those arguments part of the same analysis. A template can leave out a handle, a role, or a character span that does not help identify the phenomenon. The language also permits wildcards for predicate symbols, role labels, and variable properties. That flexibility is what lets a fingerprint apply to both a small example constructed by an author and a longer sentence containing the same phenomenon.

The example for basic nominal compounding uses a compound predication and the two predications it connects. Its structure can be displayed with asterisks marking the predicate slots that are unspecified in the paper’s template.

⟨h₀:compound(ARG1 x₁, ARG2 x₂), h₀:*(ARG0 x₁), *(ARG0 x₂), {}⟩

The angle brackets enclose the pattern. The two occurrences of h₀ require the compound predication and the predication for the head to have a common label. The colons separate labels from predicates. compound names the relation the fingerprint requires. Its ARG1 points to the head instance x₁, and ARG2 points to the other instance x₂. In the other predications, ARG0 identifies the intrinsic argument. The repeated x₁ and x₂ require the arguments of compound to be the same instances introduced by those predications. The asterisks stand for unspecified predicate names here. The final predication has no stated label requirement. Parentheses enclose arguments, commas separate the items, and the empty braces list no additional handle constraints for the pattern. The pattern leaves the rest of the full analysis open.

This explains why a match involves more than finding a predicate name in the output. A candidate full MRS has to supply the relevant variable sharing and the common label too. In the example with Harry Nilsson, the instance associated with Nilsson is the head. The predication recording that name element shares a label with compound. The instance associated with Harry fills the other argument. The match thereby captures what this name has in common with a compound such as garden dog, while the constants and the other details of the utterance stay outside the fingerprint.

The two kinds of structure serve different purposes. The full MRS preserves enough detail to describe the sentence as analyzed. The fingerprint keeps the commitments that define a particular phenomenon. The test for a fingerprint can therefore succeed in an utterance with other predications, restrictions, or variable properties. Conversely, an analysis can still contain a familiar predicate symbol after a grammar change while failing to satisfy the expected argument connections. The template makes that difference observable.

Finding candidates in the grammar and in text

Phrase structure rules, lexical entries, and lexical rules are the inputs to the procedure. Phrase structure rules describe how larger phrases are formed. Lexical rules account for operations such as inflection or derivation in the grammar’s lexical system. For entries, the authors work with lexical types, the fine-grained categories that organize entries with shared grammatical properties. Those levels have different relations to semantic contributions, so the authors give the rules and the types different screening criteria.

For phrase structure rules and lexical rules, they select the ones that introduce an elementary predication. A construction that adds a compound relation qualifies because the rule is doing semantic work in addition to putting constituents together. For lexical types, they look for either a contribution containing more than one predication or an argument with scope. A contribution with multiple predications is a case of lexically decomposed semantics. A scopal argument is one whose contribution enters the representation through the scope machinery, using handles. The criteria are meant to find promising places to look for distinctive linguistic behavior. A candidate’s presence in the resulting inventory still depends on review.

The authors characterize each selected grammar component with a signature. At this stage the signature is the collection of predicates it introduces, allowing repeated occurrences to count as such. Components within the same broad class are grouped when their signatures agree. Phrase structure rules are compared with phrase structure rules, lexical rules with lexical rules, and lexical types with lexical types. This preserves the distinction among the kinds of components during the first pass. Grouping on predicates also keeps the retrieval step relatively simple. Details such as the sharing of arguments, required in a fingerprint, can be examined once candidates are on the table.

The next step is to see those components in use. The LinGO Redwoods Treebank records selected analyses of running text. For a release of the ERG, annotators choose the reading best supported by the context from the alternatives the grammar makes available, or record that no appropriate analysis is available. The paper calls this discriminant-based treebanking. A choice about which reading to retain can be recorded through distinctions among competing analyses. These decisions support corpus inspection and later reuse when an item is parsed again. Discriminant-Based MRS Banking

For discovery, the authors index the Redwoods items by their use of relevant components and retrieve the three shortest examples for each component. Short examples give the reviewer less unrelated structure to inspect, while the corpus shows the rules operating on attested expressions. The reviewer checks whether the members of a candidate group have enough in common to document together and whether groups should be combined. This is also where the proposed catalogue gets its level of detail. A category like coordination can have several subtypes. The grammar’s treatment of different cases gives the authors evidence for where the documentation needs distinctions and where a shared account is possible.

From selected analyses to reusable tests

The authors simplify retrieved examples to construct test sentences. They remove unrelated syntactic complexity and keep vocabulary variation low so that a comparison can focus on the phenomenon under examination. Their aim is to give each subtype a canonical example. Richer examples can remain in the explanatory entry, where context, specialized vocabulary, and negative cases can make the analysis clearer. The test suite and the prose entry thus address different reading tasks. One isolates the effect, while the other explains its range and its interactions.

Each test sentence is parsed by the ERG. The intended reading is then selected through the Redwoods procedure. That step matters because a short sentence can still have competing analyses, and the documentation concerns the representation assigned to a particular reading. The authors inspect its MRS and assess how much confidence to place in the current analysis. They distinguish careful designs, analyses with known minor problems, provisional analyses that hold a structure together, and analyses that are broken or otherwise indefensible. A current output can therefore reveal something worth documenting before the authors are ready to preserve it as a stable target.

For stable analyses, the authors were adding the target fingerprints by hand. The target records the feature of the analysis that a revision ought to preserve. To test a new version, the grammar can compute a fresh parse forest, the collection of candidate analyses, for the same sentence. The previously recorded decisions can be reapplied to recover the intended analysis, and its MRS can be checked against the target. A failed match flags an item for diagnosis. When several derivations are supposed to land on equivalent representations, retaining examples for them can make a change affecting only one derivation easier to locate.

There is no training stage in this workflow. The ERG supplies the candidate analyses, and an expert-reviewed corpus and manually constructed examples supply the material for discovery and checking. The authors describe a wiki that holds the emerging entries and a revision-controlled test suite. They were also preparing a structured format from which views for readers and programs could be generated. The format was meant to bring together prose, examples, and targets that at the time were maintained in different places.

Experiments and results

What was measured

The paper reports a resource-building exercise. Its quantitative results describe the size and existing reach of the grammar, the output of its discovery procedure, examples found in annotated text, and the state of the documentation. It supplies no competing system baseline and no training, development, or held-out split for an evaluation of the encyclopedia. The relevant comparisons are between categories of grammar components and between individual corpus queries. The selected readings in Redwoods are evidence about how the grammar had been used in context. The short test sentences are evidence about specific representation choices.

For background, the authors report that the ERG typically derives a complete syntactic and semantic analysis for 85 – 95 percent of utterances in standard corpora. The range concerns analysis coverage. It tells the reader about the availability of full analyses and leaves open whether the most plausible reading is present or selected for a particular item. The corpora cited include newspaper writing, English Wikipedia, and biomedical research literature. The lexicon has about 38,000 lemmata and aims to cover function words and open-class words with unusual syntactic behavior. The paper also credits lightweight named entity recognition and mechanisms for unknown words with supporting coverage in running text. WikiWoods

In mid-2013 Redwoods contained gold-standard ERG analyses for 85,400 utterances, amounting to ∼1.5 million tokens of running text across about half a dozen genres and domains. The first 22 Wall Street Journal sections in the Penn Treebank are among the materials included. Gold-standard in this setting refers to a reference analysis identified through manual annotation of the grammar’s alternatives. Its value to the discovery procedure is that it connects a grammar rule with a reading selected in context. A sentence that the grammar happens to be able to analyze with a given rule is a weaker example of that rule’s actual use than a selected analysis that uses it.

What the discovery procedure produced

The discovery counts refer to ERG release 1212. The grammar contains 222 phrase structure rules and 84 lexical rules. The semantic contribution criterion selected 135 phrase structure rules and 27 lexical rules. Grouping within each class by predicate signatures yielded 39 clusters for phrase structure rules and 18 for lexical rules. These counts record how far the automatic first pass narrows and organizes the inventory. They are counts of rule groups at the candidate stage. The reviewed phenomena may group that material differently, and the size of a group says little by itself about how much explanation its analysis needs.

Activated rules by rule class in ERG release 1212

The semantic contribution screen selects more phrase structure rules than lexical rules.

Activated rules by rule class in ERG release 1212Lexical rules: 27Lexical rules27Phrase structure rules (this paper): 135Phrase structure rules (this paper)135
The numbers
System or settingActivated rules
Lexical rules27
Phrase structure rules (this paper)135

The star marks the larger observed count in this comparison. Both classes belong to the same grammar, and higher counts indicate more candidates for review. The classes start from inventories of different sizes. The paper uses the screen to collect relevant candidates and reports no target count for either class. The authors found that the procedure worked well as a way to organize semantically contentful rules and that seeing corpus examples helped them determine whether candidate groups were coherent.

The compounding group gives a concrete view of that evidence. In the paper’s corpus query, the rule for the construction illustrated by expressions such as four-legged and star-shaped has 73 instances across the corpora. The rule for compounds in titles, illustrated by the use of tourist lodge or self-service cabin in a name, has 31. The signatures shown for both contain compound and udef_q. The counts are occurrences of the named rules in the query. They give the reviewer a sense of the evidence available for each rule, while the short examples show what role the construction plays in actual utterances.

Instances of two compounding rules in the Redwoods corpus query

The query retrieves more instances for the rule illustrated by forms such as four-legged.

Instances of two compounding rules in the Redwoods corpus queryTitle compound rule: 31Title compound rule31Rule for forms such as four-legged (this paper): 73Rule for forms such as four-legged (thispaper)73
The numbers
System or settingRule instances across the queried corpora
Title compound rule31
Rule for forms such as four-legged (this paper)73

The larger observed count is again the starred entry. The query was organized around the rules used in corpus analyses. A search using the finished fingerprint would instead be organized around a configuration in the output, which could retrieve cases produced through different rules. The chart illustrates the kind of evidence available to someone inspecting candidate clusters. It does not give the frequency of the compounding phenomenon across all the grammar’s analyses.

What had been documented and tested

The authors identified approximately two dozen high-level phenomena for their initial set by examining the candidate rules. The wiki inventory included 22 tied to syntactic or lexical rules. Among the entries were often occurring constructions such as coordination, compounds, and nominalization, the formation of noun-like expressions, alongside less frequent cases such as vocatives, which address a person directly. Separate pages existed for more than a third of the rule-linked phenomena. A page could provide a linguistic description, motivating examples, the relevant fingerprint or fingerprints, interactions, and questions the authors still had about the analysis.

The authors describe a preliminary set of a dozen or so lexical phenomena identified while wider discovery remained difficult. They also report that the wiki already lists some 16 phenomena anchored in lexical types, including possessives, comparison in adjectives, control predicates, and verb particle constructions. These descriptions concern the emerging catalogue. They do not supply a common denominator of all lexical phenomena in the grammar against which the completed documentation could be scored.

The semantic test suite stood at about 65 sentences. Its examples were selected for distinctive effects in composition, especially where a construction or lexical rule supplies semantic content that would be hard to infer from the words alone. It contains comparable expressions whose representations should converge, as well as examples where a difference in a predicate matters despite a common overall shape. The authors report manual inspection of the selected MRSs and the ongoing addition of stable targets. There is no reported pass rate over grammar versions.

The clearest reported change to the grammar came from reviewing compounds. Some rules for closely related kinds of compounds had introduced slightly different predicate names. The authors observed no benefit from that variation and adopted a uniform name across the relevant cases. The result is a concrete instance of documentation affecting implementation. It also illustrates why the documentation needed both a formal pattern and a linguistic account. A signature alone exposes different names. A comparison of the constructions and their analyses gives the authors grounds to decide whether those names ought to express different relations.

What the ablations show

The paper reports no ablation experiments. Its analyses compare different syntactic routes to semantic representations, examine when rules share an analysis, and show where a discovery heuristic helps or needs refinement. These comparisons answer questions about the design of the grammar and its documentation. They do not estimate the effect of removing any component of the workflow.

What stays constant when syntax changes

The active and passive alternatives for the covering example offer a clear comparison. The song can be the subject of the passive sentence even though Harry Nilsson remains the participant performing the action. In the MRS, the person keeps the ARG1 position of the covering predicate, and the song keeps ARG2. The syntactic route to those assignments changes. The semantic relation among the participants is stable. The paper identifies dative shift as another place where the grammar normalizes argument assignment across syntactic variants. An example pair of this kind tests a specific design commitment. A grammar change affecting how one construction links its participants could break the expected convergence.

The possessive comparison involves a possessive determiner before the noun in one version and a phrase after the noun in the other. Both examples describe the arrival of the speaker’s old friends. The paper characterizes their MRSs as almost identical and attributes that convergence to deliberate grammar design. Keeping examples of both patterns in the test suite helps preserve the intended relationship over time. The qualifier matters. A comparison can show that the central semantic treatment is shared while leaving small representational differences intact. A test needs to express the parts of the analysis on which that comparison depends.

For partitives, the authors suggest testing the variant with of alongside the shorter form, using the example about all the dogs barking. The proposed check asks whether the alternative paths of composition produce the same MRS as intended. This is a different reason for including near-duplicate sentences in a small suite. Each example contributes a distinct path through the grammar, so a change can affect one while leaving the other sound. The paper presents this as a possible addition and treats the possessive pair as a case where nearly equivalent analyses already illustrate that use of the suite.

When a shared shape still contains a distinction

The conditional examples hold some material steady while changing the way the condition is introduced. One uses an overt if clause, while the other puts the auxiliary before the subject in the conditional clause and uses a corresponding modal construction in the consequence. The authors describe the semantic structures as isomorphic, meaning that their structural organization corresponds. The predicate representing the conditional differs between the lexical and structural forms. This comparison shows why it is useful to distinguish similarity of configuration from full representational identity. A template can focus on a common arrangement, and the entry can explain when particular predicate choices still matter.

The authors omit variants created simply by reordering the clauses in these conditional examples because their meaning is equivalent for the purpose of the test. That choice can be read alongside the proposed coverage of alternative partitive forms. Several sentences deserve separate tests when their derivations pose a useful question about preservation of meaning. A different surface order adds little to this suite when the authors expect it to reproduce an analysis already covered and have no further representational decision to illustrate there.

Compounding provides the complementary case of a recurring predicate in quite different syntactic settings. An ordinary nominal compound and a complex proper name can both satisfy the basic pattern. The construction illustrated by a rabbit-eared dog uses the compound relation twice. The paper analyzes it as nested modification involving the dog, its ears, and the rabbit, roughly the structure conveyed by describing a dog as having ears like a rabbit’s. The form of the modifier can look verbal. The semantic analysis ties together instances through the same family of relations used elsewhere in compounding. Here a review organized around semantic contributions brings together examples that a review organized around surface forms could treat independently.

What required judgment after the automatic screen

The rule signatures are deliberately simpler than the final fingerprints. They can identify candidates that add the same predicates, but deciding which ones belong in a common entry requires reading the examples and inspecting the configuration. The two compounding rules retrieved from Redwoods exemplify this distinction. One operates in forms such as star-shaped, and the other participates in titles. The signature gives the authors a reason to examine them together. The analyses of the examples show how far that common treatment extends.

The authors report more difficulty with lexical types. The criteria select too many for convenient review, while other types of interest may be excluded. These problems can coexist because the screen is looking for particular signs of semantic complexity. An item can satisfy one of those signs without being a useful focus for a distinct documentation entry. A phenomenon can also deserve an entry without presenting either sign in a form the heuristic recognizes. The paper diagnoses this as a weakness of the discovery procedure for the lexical inventory. It offers no comparison of alternative screens from which to choose a replacement.

Limitations

Limits the authors identify

The authors describe an encyclopedia under development. It covers part of a grammar with a much broader current range than the documentation. Some phenomena have their own detailed entries. Other entries remain to be written, particularly those associated with lexical types. The rule-based discovery step gave the authors a workable first inventory. To make lexical discovery more comprehensive, they expected to revise the screening procedure. The planned extension matters to the scope of the test suite as well. The existing sentences emphasize semantic effects of constructional and lexical rules, and the authors expect the suite to grow as they document more effects associated with lexical types.

The authors also treat the stability of individual analyses as an empirical question for their documentation. Some outcomes reflect design choices they have already worked through. Others contain small known problems, serve as provisional treatments, or fail their standards of well-formedness. The practice of attaching fingerprints to stable test analyses is tied to that distinction. The corpus can tell the authors that an analysis occurs, and a successful match can show that its structure persists. Whether that structure deserves to persist still calls for linguistic review.

The focus on representation leaves important questions of semantic interpretation open. The paper sketches the use of handles and scope constraints, while leaving fuller accounts of scope and interpretation outside its treatment. Its examples help the reader understand which information the ERG records and how the pieces are connected. Their use for truth conditions and inference belongs to the wider problem the authors set out in the outlook. The authors also recognize that balancing grammatical adequacy, practical readability, and formal usefulness remains an open challenge for general-purpose semantic representations.

There are practical limits to the repository as described. At the time, entries lived on a wiki and the tests were maintained under revision control. The authors wanted better integration and were preparing a format for generating both human-readable and machine-readable views. They also anticipated a challenge in opening the resource to community contributions while retaining the accuracy and authority of the descriptions. The repository and its intended growth are part of the paper’s agenda. The paper leaves the operation of that future community and the resulting coverage unresolved.

Limits of the evidence

The figures for complete analyses, treebank size, and discovered clusters measure different things. Complete-analysis coverage says how often the grammar can provide a full analysis in the stated corpora. Treebank size counts the utterances with annotated reference analyses. Cluster counts record the output of the discovery procedure over a grammar inventory. None supplies a direct measure of how much of the grammar’s semantic behavior the encyclopedia explains. The authors suggest estimating documentation coverage by matching fingerprints to corpus analyses. The paper reports no such estimate.

A fingerprint checks selected features of a representation. Its omissions are useful when the same configuration occurs with different words, spans, or surrounding material. They also set the boundary of what a match can establish. An output can preserve the shared variables and predicates that the fingerprint requires while changing some other property that matters for the interpretation. Full semantic correctness therefore calls for evidence beyond the preservation of a fragment. A failed match likewise identifies a departure from the expected fragment. Whether that departure is a regression depends on the change the developers meant to make and on whether the old target still captures their intended analysis.

The method for obtaining examples is suited to making analyses legible. The shortest corpus examples tend to give reviewers less unrelated material to sort through, and simplification makes the resulting examples even more focused. Those choices provide little basis for estimating performance on longer texts or on combinations of several phenomena. The test suite establishes a way to examine selected effects under controlled conditions. The prose entries can discuss interactions, but the paper gives no systematic test of interaction coverage. Similarly, the corpus counts in the compounding example refer to particular rules, so a reader cannot use them as an estimate for all realizations of the underlying semantic relation.

The project takes the grammar’s own analyses as its starting point. This makes the inventory well suited to documenting ERG distinctions, including distinctions that might be hard to find in a general list of English constructions. It also means that a phenomenon can escape discovery if the grammar treats it without the semantic contributions that trigger a heuristic. The risk is especially apparent for lexical types. An inventory derived from ERG components cannot on its own establish which linguistic phenomena any broad-coverage grammar ought to represent, or which analysis another framework should adopt for a shared phenomenon.

The cross-framework comparison is correspondingly preliminary. The paper identifies useful places to compare analyses and explains why the annotation schemes make different kinds of commitments. Its proposal to align alternative analyses over a shared semantic test suite would supply evidence about agreements and disagreements at the level of individual examples. The authors had yet to carry out that alignment. Infinitival purpose clauses are a suggested common case, and the comparisons in the paper establish the basis for investigating one. They leave the relative adequacy of those analyses open.

What came after

The later citing works connect this paper to several lines of research, from parsing into meaning representations to the treatment of learner English. Their stated subjects show where those connections can be made. The citation relationships leave open whether a particular work used the encyclopedia’s entries, imported its fingerprints, or adopted its test suite.

One line concerns parsing into AMR. An AMR parser for English, French, German, Spanish and Japanese and a new AMR-annotated corpus concerns a parser spanning the named languages and a corpus annotated in AMR. The 2014 paper had compared AMR’s representational aims with those of the ERG. Its proposed aligned examples would let researchers ask, for an individual construction, which expressed distinctions each scheme retains and which it leaves open. The multilingual parser and annotated corpus address the related task of producing and recording AMR analyses. Their stated scope leaves the question of an alignment with ERG representations open.

The ERG at MRP 2019 carries the ERG into work on compositional semantic dependencies. The continuity is direct at the level of the subject. The earlier paper documents how grammatical pieces contribute predicates and how the resulting arguments are linked. The later work puts the grammar in a setting centered on semantic dependencies. The earlier distinctions help explain why the links themselves are worth inspecting. In the covering example, the stable relation between the event and its participants is visible after the change from active to passive. A study of semantic dependencies has a reason to attend to exactly that level of the representation, whatever form it gives those links.

Comparing Knowledge-Intensive and Data-Intensive Approaches to English Resource Semantic Parsing makes English Resource semantic parsing the subject of a comparison between two approaches. The encyclopedia makes the target of such a comparison easier to discuss at the level of a specific construction. Recovering a predicate symbol, recovering its participant assignments, and preserving the same treatment across different syntactic forms are distinct questions about an output. The 2014 examples illustrate each kind of question. The later work’s stated comparison concerns how analyses are obtained. Its citation alone leaves open whether it evaluates any of those questions using the encyclopedia’s targets.

Constructivist Tokenization for English addresses the units used to analyze English text. The 2014 paper offers a point of contact through its treatment of complex expressions. Harry and Nilsson have their own name predications, and a construction contributes the relation that groups them. The example shows why identifying pieces of a string and explaining their combined meaning have to be considered together. The later work’s subject is tokenization, the division of text into units for analysis. Its citation places the ERG documentation in that conversation while leaving the specific extent of any methodological reuse open.

Compositional Syntactico-SemBanking for English as a Second or Foreign Language puts the construction of a bank of syntactic and semantic analyses in the context of learner English. Towards Linguistically-informed Representations for English as a Second or Foreign Language addresses the review, construction, and application of representations in that same setting. The earlier paper’s experience with Redwoods makes one question particularly concrete for this line of work. When several readings are available, a reference analysis needs a way to record which one is intended, and when no offered analysis fits, the annotation process needs to record that outcome. The later titles establish their concern with a different setting for representation work. They do not establish which of the Redwoods procedures, if any, that work adopts.

Examining Algebraic Recombination for Compositional Generalisation takes up the question of recombination and generalization. The earlier paper gives examples of why the relevant parts and their arrangement have to be specified. A rule can add a predication, a constituent can supply the instance that fills one of its roles, and different constructions can produce the same arrangement. A fingerprint records such a configuration in a form that can be sought again in another analysis. The later study concerns generalization through recombination. The ERG paper supplies a prior example of how to describe the structures that recur when expressions are composed, with the generalization claims of the later work left to its own evidence.

Cite

Cite as Dan Flickinger, Emily M. Bender and Stephan Oepen. 2014. Towards an Encyclopedia of Compositional Semantics: Documenting the Interface of the English Resource Grammar. Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14).

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

@inproceedings{flickinger2014encyclopedia,
  title = {{Towards an Encyclopedia of Compositional Semantics: Documenting the Interface of the English Resource Grammar}},
  author = {Dan Flickinger, Emily M. Bender and Stephan Oepen},
  booktitle = {Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)},
  year = {2014},
  doi = {10.63317/3k9of22wesbc},
  url = {https://doi.org/10.63317/3k9of22wesbc}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/flickinger-2014-encyclopedia-compositional-semantics-documenting-interface/