Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T04:52:01.317Z Has data issue: false hasContentIssue false

Using regular tree grammars to enhance sentence realisation

Published online by Cambridge University Press:  21 March 2011

CLAIRE GARDENT
Affiliation:
CNRS/LORIA, 615 Rue du jardin botanique, 54600 Villers-lès-Nancy, France email: claire.gardent@loria.fr
BENJAMIN GOTTESMAN
Affiliation:
acrolinx GmbH, Rosenstraße 2, 10178 Berlin, Germany
LAURA PEREZ-BELTRACHINI
Affiliation:
Nancy 1/LORIA, 615 Rue du jardin botanique, 54600 Villers-lès-Nancy, France
Rights & Permissions [Opens in a new window]

Abstract

Feature-based regular tree grammars (FRTG) can be used to generate the derivation trees of a feature-based tree adjoining grammar (FTAG). We make use of this fact to specify and implement both an FTAG-based sentence realiser and a benchmark generator for this realiser. We argue furthermore that the FRTG encoding enables us to improve on other proposals based on a grammar of TAG derivation trees in several ways. It preserves the compositional semantics that can be encoded in feature-based TAGs; it increases efficiency and restricts overgeneration; and it provides a uniform resource for generation, benchmark construction and parsing.

Information

Type
Papers
Copyright
Copyright © Cambridge University Press 2011
Figure 0

Fig. 1. Example feature-based tree adjoining grammar (N is a unification variable, sg is a constant, and [f : v] is a feature structure with feature f and feature value v).

Figure 1

Fig. 2. Parse trees for ‘The man often runs’ using the grammar of Figure 1. In the derivation tree, plain lines indicate adjunction and dotted ones substitution. For simplicity, tree names are replaced with the lemmas anchoring each elementary tree. The number on the upper right of each tree name gives the Gorn address of the node onto which the tree was inserted.

Figure 2

Fig. 3. An FTAG augmented with a unification-based semantics. For the sake of clarity, feature structures are abbreviated, feature percolation has been simplified precluding the possibility that adjunction modifies feature values and only the semantic feature values relevant for semantic construction are indicated. Cx,l/Cx,l abbreviate a node with category C and a top/bottom feature structure including the feature-value pairs {index:x, label:l}.

Figure 3

Fig. 4. Derived tree and semantics for ‘A man often sees Mary run’.

Figure 4

Fig. 5. Example RTG describing the derivation trees of a toy TAG.

Figure 5

Fig. 6. Rules of a CFG derived from an RTG of TAG derivations.

Figure 6

Fig. 7. An RTGns-generated tree and corresponding CFG derivation.

Figure 7

Fig. 8. TAG fragment.

Figure 8

Fig. 9. FRTG translation of TAG fragment.

Figure 9

Fig. 10. DCG translation of FRTG fragment.

Figure 10

Table 1. RTGen derivation tree generation algorithm

Figure 11

Table 2. RTGen average chart sizes and processing times on 618 test cases from a gensem -generated benchmark. Each test case has 3 modifications, distributed in various ways between adjectival and adverbial modifications and combined (in some cases) with lexical ambiguity, 10 trees for each modifier. The second column, Generation Forest (GF), is the number of derivation trees present in the generated parse forest. The third and fourth columns show the chart and unpacked chart sizes, respectively. The last column shows the runtime in seconds