A Shift First Strategy for Generalized LR Parsing
-
- Lee Yong-Seok
- Department of Information Science & Intelligent Systems, University of Tokushima
-
- Tomabechi Hideto
- Department of Information Science & Intelligent Systems, University of Tokushima
-
- Aoe Jun-ichi
- Department of Information Science & Intelligent Systems, University of Tokushima
この論文をさがす
説明
Tomita's parsing method (GLR) is a practical and successful parsing method for natural language. However, one difficulty in the GLR is that interleaved constraint processing of syntax and semantics in parallel is not trivial during parsing, because it uses the precompiled table for a fast real-time parsing. In this paper, we present a method which makes the GLR adaptable to interleaved parsing while making some limitation on its generality. For interleaved parsing, the conflicts of the LR parsing table must be resolved at the parse time. The shift-reduce conflict among the above conflicts is the most serious one for interleaved parsing because of the lack of knowledge for the conflict resolution at the parse time. Therefore, we concentrate on resolving a shift-reduce conflict by introducing a grammar which is called a shift-first LR(k) grammar. Our method for this is that the conflict resolution is delayed by the shift-first strategy which makes an unconditional choice of shift actions in the case of a shift-reduce conflict. Then, a delayed resolution that resolves the conflict, is made. Depending on the decision of the resolution, the pseudo parsing, which parses symbols in the LR parser stack, proceeds. Our experiments showed that our parser is efficient while attaining the interleaved parsing at real time.
収録刊行物
-
- IEICE transactions on information and systems
-
IEICE transactions on information and systems 77 (10), 1162-1169, 1994-10-25
一般社団法人電子情報通信学会
- Tweet
詳細情報 詳細情報について
-
- CRID
- 1572261552262695552
-
- NII論文ID
- 110003209329
-
- NII書誌ID
- AA10826272
-
- ISSN
- 09168532
-
- 本文言語コード
- en
-
- データソース種別
-
- CiNii Articles