首页 | 本学科首页   官方微博 | 高级检索  
     


A compiler for parsing schemata
Authors:C Gómez‐Rodríguez  J Vilares  M A Alonso
Affiliation:Depto. de Computación, Facultade de Informática, Universidade da Coruña, Campus de Elviña, s/n, 15071 A Coruña, Spain
Abstract:We present a compiler that can be used to automatically obtain efficient Java implementations of parsing algorithms from formal specifications expressed as parsing schemata. The system performs an analysis of the inference rules in the input schemata in order to determine the best data structures and indexes to use, and to ensure that the generated implementations are efficient. The system described is general enough to be able to handle all kinds of schemata for different grammar formalisms, such as context‐free grammars and tree‐adjoining grammars, and it provides an extensibility mechanism allowing the user to define custom notational elements. This compiler has proven very useful for analyzing, prototyping and comparing natural‐language parsers in real domains, as can be seen in the empirical examples provided at the end of the paper. Copyright © 2008 John Wiley & Sons, Ltd.
Keywords:parsing  declarative programming  natural‐language processing  parsing schemata
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号