Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T08:17:17.256Z Has data issue: false hasContentIssue false

Deterministic shift-reduce parsing for unification-based grammars

Published online by Cambridge University Press:  21 October 2010

TAKASHI NINOMIYA
Affiliation:
Graduate School of Science and Engineering, Ehime University, 3 Bunkyo-cho, Matsuyama, Ehime 790-8577, Japan e-mail: ninomiya@cs.ehime-u.ac.jp
TAKUYA MATSUZAKI
Affiliation:
Graduate School of Information Science and Technology, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033, Japan e-mail: matuzaki@is.s.u-tokyo.ac.jp
NOBUYUKI SHIMIZU
Affiliation:
Information Technology Center, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033, Japan e-mail: shimizu@r.dl.itc.u-tokyo.ac.jp, n3@dl.itc.u-tokyo.ac.jp
HIROSHI NAKAGAWA
Affiliation:
Information Technology Center, The University of Tokyo, 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033, Japan e-mail: shimizu@r.dl.itc.u-tokyo.ac.jp, n3@dl.itc.u-tokyo.ac.jp
Rights & Permissions [Opens in a new window]

Abstract

Many parsing techniques assume the use of a packed parse forest to enable efficient and accurate parsing. However, they suffer from an inherent problem that derives from the restriction of locality in the packed parse forest. Deterministic parsing is one solution that can achieve simple and fast parsing without the mechanisms of the packed parse forest by accurately choosing search paths. We propose new deterministic shift-reduce parsing and its variants for unification-based grammars. Deterministic parsing cannot simply be applied to unification-based grammar parsing, which often fails because of its hard constraints. Therefore, this is developed by using default unification, which almost always succeeds in unification by overwriting inconsistent constraints in grammars.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2010
Figure 0

Fig. 1. Example of partially ordered types.

Figure 1

Fig. 2. Example of HPSG parsing.

Figure 2

Fig. 3. Algorithm for the simply typed version of Copestake's default unification.

Figure 3

Fig. 4. Example of deterministic shift-reduce parsing for HPSG.

Figure 4

Table 1. Feature templates

Figure 5

Table 2. Combinations of feature templates

Figure 6

Fig. 5. Example of parsing failure.

Figure 7

Table 3. Preliminary experiments with Ninomiya et al.'s and Copestake's default unification cases (Penn Treebank Section 22 with gold POS tags)

Figure 8

Table 4. Experimental results for section 23 (gold POS tags)

Figure 9

Table 5. Experimental results for section 23 (automatic POS tags)

Figure 10

Fig. 6. Relation between LF and the average parsing time (section 22, gold POS tags).

Figure 11

Table 6. Profiles for section 22

Figure 12

Table 7. Path values overwritten by default unification in section 22

Figure 13

Table 8. Mapping of categories for predicates and arguments in error analysis

Figure 14

Table 9. Incorrectly identified predicate and argument types (Ninomiya et al.'s parser, Section 22, gold POS tags)

Figure 15

Table 10. Incorrectly identified predicate and argument types (deterministic, section 22, gold POS tags)

Figure 16

Table 11. Incorrectly identified predicate and argument types (backtrack, section 22, gold POS tags)

Figure 17

Table 12. Incorrectly identified predicate and argument types (best-first, section 22, gold POS tags)

Figure 18

Table 13. Profiles of deterministic parsing (Section 22, gold POS tags)