public class HTMLFormatter extends NLGModule
This processing module adds some simple plain HTML formatting to the SimpleNLG output. This includes the following:
| Constructor and Description |
|---|
HTMLFormatter() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise()
Performs one-time initialisation of the module.
|
List<NLGElement> |
realise(List<NLGElement> elements)
Realises a
List of NLGElements usually by
iteratively calling the realise(NLGElement) method on each
element in the list and adding the result into a new a List |
NLGElement |
realise(NLGElement element)
Realises the given element.
|
getLexicon, setLexiconpublic void initialise()
NLGModuleinitialise in class NLGModulepublic NLGElement realise(NLGElement element)
NLGModulepublic List<NLGElement> realise(List<NLGElement> elements)
NLGModuleList of NLGElements usually by
iteratively calling the realise(NLGElement) method on each
element in the list and adding the result into a new a ListCopyright © 2020. All Rights Reserved.