PLOGHELP GRAMMARS Kathryn Seifert August 1986 Overview of HELP files dealing with grammars and natural language Keywords: overview, grammar, natural language, symbols, syntax, parsing A grammar for a language is a set of rules which specifies what sequences of words are acceptable as sentences in that language. The grammar specifies how words can be grouped together into phrases and what ordering of phrases can be used to form sentences. Prolog has a special notation for expressing grammar rules. This special notation was designed to aid people in writing "parsers". A parser is a computer program which determines the structure (constructs a "parse tree") for sentences in a language. The following HELP files discuss this special notation for grammar rules, along with other Prolog facilities for developing grammars and library programs dealing with natural language. PLOGHELP * EXPAND_TERM Predicate to translate grammar rules into normal Prolog clauses PLOGHELP * GRAMMAR_RULE Prolog facilities for expressing definite clause grammars PLOGHELP * LERNGRAM Library program for learning concepts about English sentences PLOGHELP * PARSEDEMO Library demonstration program of a simple natural language parser PLOGHELP * PHRASE Predicate for invoking goals involving grammar rules TEACH * GRAMMAR_RULES Tutorial introduction to Prolog grammar rules --- C.all/plog/help/grammars ------------------------------------------- --- Copyright University of Sussex 1988. All rights reserved. ----------