| Package | Description |
|---|---|
| simplenlg.framework | |
| simplenlg.lexicon | |
| simplenlg.realiser.english | |
| simplenlg.xmlrealiser |
| Modifier and Type | Field and Description |
|---|---|
protected Lexicon |
NLGModule.lexicon
The lexicon that is to be used by this module.
|
| Modifier and Type | Method and Description |
|---|---|
Lexicon |
NLGModule.getLexicon()
Retrieves the lexicon currently being used by this module.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NLGModule.setLexicon(Lexicon newLexicon)
Sets the lexicon to be used by this module.
|
void |
NLGFactory.setLexicon(Lexicon newLexicon)
Sets the lexicon to be used by this factory.
|
| Constructor and Description |
|---|
NLGFactory(Lexicon newLexicon)
Creates a new phrase factory with the associated lexicon.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MultipleLexicon
This class contains a set of lexicons, which are searched in
order for the specified word
|
class |
NIHDBLexicon
This class gets Words from the NIH Specialist Lexicon
|
class |
XMLLexicon
This class loads words from an XML lexicon.
|
| Modifier and Type | Method and Description |
|---|---|
static Lexicon |
Lexicon.getDefaultLexicon()
returns the default built-in lexicon
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultipleLexicon.addFinalLexicon(Lexicon lex)
add lexicon at end of list (is searched last)
|
void |
MultipleLexicon.addInitialLexicon(Lexicon lex)
add lexicon at beginning of list (is searched first)
|
| Constructor and Description |
|---|
MultipleLexicon(Lexicon... lexicons)
create a multi lexicon with the specified lexicons
|
| Modifier and Type | Method and Description |
|---|---|
void |
Realiser.setLexicon(Lexicon newLexicon) |
| Constructor and Description |
|---|
Realiser(Lexicon lexicon)
Create a realiser with a lexicon (should match lexicon used for
NLGFactory)
|
| Constructor and Description |
|---|
UnWrapper(Lexicon lexicon)
Initialise an UnWrapper with a lexicon.
|
Copyright © 2020. All Rights Reserved.