Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-07T04:48:49.582Z Has data issue: false hasContentIssue false

Instance-based natural language generation

Published online by Cambridge University Press:  12 May 2010

S. VARGES
Affiliation:
Department of Information Engineering and Computer Science, University of Trento, Via Sommarive, 14 38050 Povo (TN), Italy e-mail: varges@disi.unitn.it
C. MELLISH
Affiliation:
Department of Computing Science, University of Aberdeen, King's College, Aberdeen AB24 3UE, UK e-mail: c.mellish@abdn.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

We investigate the use of instance-based ranking methods for surface realization in natural language generation. Our approach to instance-based natural language generation (IBNLG) employs two components: a rule system that ‘overgenerates’ a number of realization candidates from a meaning representation and an instance-based ranker that scores the candidates according to their similarity to examples taken from a training corpus. We develop an efficient search technique for identifying the optimal candidate based on a novel extension of the A* algorithm. The rule system is produced automatically from a semantically annotated fragment of the Penn Treebank II containing management succession texts. We detail the annotation scheme and grammar induction algorithm and evaluate the efficiency and output of the generator. We also discuss issues such as input coverage (completeness) and fluency that are relevant to surface generation in general.

Information

Type
Papers
Copyright
Copyright © Cambridge University Press 2010
Figure 0

Fig. 1. Pre-processing in the instance-based generation system.

Figure 1

Fig. 2. Architecture of the instance-based generator (at runtime).

Figure 2

Table 1. The most frequent tags in the collected corpus

Figure 3

Fig. 3. Treebank merged with markup.

Figure 4

Fig. 4. Example of expectation-based search: edges e1, e2 combined into e12.

Figure 5

Fig. 5. Sketch instance-based ranking algorithm.

Figure 6

Table 2. Efficiency results for test set of 40 inputs

Figure 7

Fig. 6. Overall number of similarity computations (bigrams, tf.idf weights).

Figure 8

Table 3. Trade-off between fluency (cosine similarity) and completeness

Figure 9

Table 4. Results of scalability experiments (trigram terms, tf.idf, λ = 0.7)

Figure 10

Table 5. Results of scalability experiments with fixed grammar

Figure 11

Fig. 7. ‘Evolution’ of candidates with growing corpus resources.

Figure 12

Table 6. Results of initial semantic ranking (trigrams, tf.idf, λ = 0.7)

Figure 13

Table 7. Human judgements of best candidates (trigrams, tf.idf)