| Package | Description |
|---|---|
| simplenlg.framework | |
| simplenlg.xmlrealiser |
| Modifier and Type | Method and Description |
|---|---|
DocumentElement |
NLGFactory.createDocument()
Creates a new document element with no title.
|
DocumentElement |
NLGFactory.createDocument(String title)
Creates a new document element with the given title.
|
DocumentElement |
NLGFactory.createDocument(String title,
List<DocumentElement> components)
Creates a new document element with the given title and adds all of the
given components in the list
|
DocumentElement |
NLGFactory.createDocument(String title,
NLGElement component)
Creates a new document element with the given title and adds the given
component.
|
DocumentElement |
NLGFactory.createEnumeratedList()
Creates a new enumerated list element with no components.
|
DocumentElement |
NLGFactory.createEnumeratedList(List<DocumentElement> textComponents)
Creates a new enumerated list element and adds all of the given components in the
list
|
DocumentElement |
NLGFactory.createEnumeratedList(NLGElement component)
Creates a new section element with the given title and adds the given
component.
|
DocumentElement |
NLGFactory.createList()
Creates a new list element with no components.
|
DocumentElement |
NLGFactory.createList(List<DocumentElement> textComponents)
Creates a new list element and adds all of the given components in the
list
|
DocumentElement |
NLGFactory.createList(NLGElement component)
Creates a new section element with the given title and adds the given
component.
|
DocumentElement |
NLGFactory.createListItem()
Creates a list item for adding to a list element.
|
DocumentElement |
NLGFactory.createListItem(NLGElement component)
Creates a list item for adding to a list element.
|
DocumentElement |
NLGFactory.createParagraph()
Creates a new paragraph element with no components.
|
DocumentElement |
NLGFactory.createParagraph(List<DocumentElement> components)
Creates a new paragraph element and adds all of the given components in
the list
|
DocumentElement |
NLGFactory.createParagraph(NLGElement component)
Creates a new paragraph element and adds the given component
|
DocumentElement |
NLGFactory.createSection()
Creates a new section element.
|
DocumentElement |
NLGFactory.createSection(String title)
Creates a new section element with the given title.
|
DocumentElement |
NLGFactory.createSection(String title,
List<DocumentElement> components)
Creates a new section element with the given title and adds all of the
given components in the list
|
DocumentElement |
NLGFactory.createSection(String title,
NLGElement component)
Creates a new section element with the given title and adds the given
component.
|
DocumentElement |
NLGFactory.createSentence()
Creates a new sentence element with no components.
|
DocumentElement |
NLGFactory.createSentence(List<NLGElement> components)
Creates a new sentence element and adds all of the given components.
|
DocumentElement |
NLGFactory.createSentence(NLGElement components)
Creates a new sentence element
|
DocumentElement |
NLGFactory.createSentence(Object subject,
Object verb)
Creates a sentence with the given subject and verb.
|
DocumentElement |
NLGFactory.createSentence(Object subject,
Object verb,
Object complement)
Creates a sentence with the given subject, verb and direct object.
|
DocumentElement |
NLGFactory.createSentence(String cannedSentence)
Creates a new sentence with the given canned text.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentElement |
NLGFactory.createDocument(String title,
List<DocumentElement> components)
Creates a new document element with the given title and adds all of the
given components in the list
|
DocumentElement |
NLGFactory.createEnumeratedList(List<DocumentElement> textComponents)
Creates a new enumerated list element and adds all of the given components in the
list
|
DocumentElement |
NLGFactory.createList(List<DocumentElement> textComponents)
Creates a new list element and adds all of the given components in the
list
|
DocumentElement |
NLGFactory.createParagraph(List<DocumentElement> components)
Creates a new paragraph element and adds all of the given components in
the list
|
DocumentElement |
NLGFactory.createSection(String title,
List<DocumentElement> components)
Creates a new section element with the given title and adds all of the
given components in the list
|
| Modifier and Type | Method and Description |
|---|---|
DocumentElement |
UnWrapper.UnwrapDocumentElement(XmlDocumentElement wt)
Create simplenlg objects from wrapper objects.
|
Copyright © 2020. All Rights Reserved.