作者: Pierre M. Nugues
DOI: 10.1007/978-3-642-41464-0_9
关键词: Definite clause grammar 、 Extended Affix Grammar 、 L-attributed grammar 、 Context-free grammar 、 Indexed grammar 、 Programming language 、 Context-sensitive grammar 、 Parsing 、 Computer science 、 Tree-adjoining grammar
摘要: This chapter introduces parsing using phrase-structure rules and grammars. It uses the Definite Clause Grammar (DCG) notation (Pereira Warren 1980) , which is a feature of virtually all Prologs. The DCG enables us to transcribe set directly into Prolog program.