Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-07T11:45:11.012Z Has data issue: false hasContentIssue false

A statistical model for grammar mapping

Published online by Cambridge University Press:  20 February 2015

A. BASIRAT
Affiliation:
School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran email: ali.basirat@lingfil.uu.se Department of Linguistics and Philology, Uppsala University, Uppsala, Sweden email: joakim.nivre@lingfil.uu.se
H. FAILI
Affiliation:
School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran email: ali.basirat@lingfil.uu.se School of Computer Science, Institute for Research in Fundamental Sciences (IPM), P. O. Box 19395-5746, Tehran, Iran email: h.faili@ut.ac.ir
J. NIVRE
Affiliation:
Department of Linguistics and Philology, Uppsala University, Uppsala, Sweden email: joakim.nivre@lingfil.uu.se
Rights & Permissions [Opens in a new window]

Abstract

The two main classes of grammars are (a) hand-crafted grammars, which are developed by language experts, and (b) data-driven grammars, which are extracted from annotated corpora. This paper introduces a statistical method for mapping the elementary structures of a data-driven grammar onto the elementary structures of a hand-crafted grammar in order to combine their advantages. The idea is employed in the context of Lexicalized Tree-Adjoining Grammars (LTAG) and tested on two LTAGs of English: the hand-crafted LTAG developed in the XTAG project, and the data-driven LTAG, which is automatically extracted from the Penn Treebank and used by the MICA parser. We propose a statistical model for mapping any elementary tree sequence of the MICA grammar onto a proper elementary tree sequence of the XTAG grammar. The model has been tested on three subsets of the WSJ corpus that have average lengths of 10, 16, and 18 words, respectively. The experimental results show that full-parse trees with average F1-scores of 72.49, 64.80, and 62.30 points could be built from 94.97%, 96.01%, and 90.25% of the XTAG elementary tree sequences assigned to the subsets, respectively. Moreover, by reducing the amount of syntactic lexical ambiguity of sentences, the proposed model significantly improves the efficiency of parsing in the XTAG system.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2015 
Figure 0

Fig. 1. Total number of parse trees generated by the XTAG parser.

Figure 1

Fig. 2. Basic architecture of the model to be used as target parser.

Figure 2

Algorithm 1 The EM-based semi-supervised algorithm used for disambiguation of the XTAG e-tree sequences

Figure 3

Fig. 3. Two structurally different elementary trees of two LTAGs describing the same syntactic environment for their anchors.

Figure 4

Fig. 4. Different e-tree sequences associated with the sentence “John is giving books to Mary.” T is a MICA e-tree sequence and T′i, i = 1, 2, 3 are XTAG e-tree sequences.

Figure 5

Algorithm 2 The EM-based semi-supervised algorithm for initializing HMMmx

Figure 6

Fig. 5. Number of elementary trees associated with the 200 most frequently used words not satisfying the word-supertag relationship defined in the XTAG word-supertag dictionary.

Figure 7

Fig. 6. The amount of parse time taken by the XTAG parser.

Figure 8

Table 1. Statistical information about the training datasets

Figure 9

Fig. 7. Logarithmic scale of likelihood of observing English sentences.

Figure 10

Table 2. Evaluation of unlabeled best parse trees (BPT) built from the XTAG e-tree sequences with the highest correctness ratios

Figure 11

Fig. 8. Logarithmic scale of likelihood of observing MICA elementary tree sequences. Each curve is related to a series of MICA elementary tree sequences including most probable, second most probable, and so on.

Figure 12

Fig. 9. The mean value of entropy of the distribution of all XTAG elementary tree sequences, given a MICA elementary tree sequences.

Figure 13

Table 3. Three datasets used in the evaluation of the LTAG-mapping model.

Figure 14

Table 4. The relationship between the Penn and XTAG part-of-speech tags

Figure 15

Table 5. The results for POS agreement

Figure 16

Fig. 10. Distribution of POS agreement error over the POS tags.

Figure 17

Fig. 11. The probability of part-of-speech agreement errors given the desired POS tags.

Figure 18

Fig. 12. The probability of grammar compatibility errors given part-of-speech tag of the words.

Figure 19

Table 6. Distribution of part-of-speech tags in XTAG word-supertag dictionary

Figure 20

Table 7. The results of grammar compatibility

Figure 21

Table 8. The percentage of parsed sentences

Figure 22

Table 9. The precision (p), recall (r), and F1-score (f) of the best parse trees (BPT) generated from XTAG elementary tree sequences

Figure 23

Fig. 13. The relative speed of parsing for each sentence.