\chapter{Parsing and Generation}
\label{Chapter:ParsingAndGeneration}

\author{Manny Rayner}

\section{Different types of parser}
\label{Section:TypesOfParser}

\section{The left-corner parser}
\label{Section:LCParser}

\section{The DCG parser}
\label{Section:DCGParser}

\section{The reflective DCG parser}
\label{Section:ReflectiveDCGParser}

\section{Using Nuance as a parser}
\label{Section:NuanceParser}

\section{Displaying parse trees}
\label{Section:ParseTrees}

\section{Parse preferences}
\label{Section:ParsePreferences}

\section{Compiling grammars for generation}
\label{Section:Generation}

\section{Config files for generation}
\label{Section:GenerationConfig}

\section{Using generation mode}
\label{Section:GenerationMode}

\section{Generation preferences}
\label{Section:GenerationPreferences}

\section{Tracing generation}
\label{Section:GenerationTrace}

\section{Calling a parser from Prolog}
\label{Section:CallingParser}

\section{Calling a generator from Prolog}
\label{Section:CallingGenerator}

\section{Random generation of sentences from a Regulus grammar}
\label{Section:RandomGenerationRegulus}
