This is the processor for handling syntax within the SimpleNLG. The processor translates phrases into lists of words.
All processing modules perform realisation on a tree of NLGElement
s. The modules can alter the tree in whichever way they wish. For example, the syntax processor replaces phrase elements with list elements consisting of inflected words while the morphology processor replaces inflected words with string elements.
N.B. the use of module, processing module and processor is interchangeable. They all mean an instance of this class.
@author D. Westwater, University of Aberdeen. @version 4.0
|
|
|
|