public static class IlrVerbalizerHelper.BasicVerbalizable extends java.lang.Object implements IlrVerbalizable
| Constructor and Description |
|---|
IlrVerbalizerHelper.BasicVerbalizable(java.lang.String label)
Use this constructor to build a basic verbalizable with the given label.
|
| Modifier and Type | Method and Description |
|---|---|
protected IlrTerm |
buildDefaultTerm(IlrVocabulary voc)
This method builds a term for this verbalizable for the given vocabulary
|
java.lang.String |
getLabel()
Gets the label of this verbalizable element.
|
IlrTerm |
getTerm(IlrVocabulary vocabulary)
Gets the term associated to this verbalizable element, from a given vocabulary.
|
public IlrVerbalizerHelper.BasicVerbalizable(java.lang.String label)
label - the label used for this verbalizable.public java.lang.String getLabel()
IlrVerbalizablegetLabel in interface IlrVerbalizablepublic IlrTerm getTerm(IlrVocabulary vocabulary)
IlrVerbalizablegetTerm in interface IlrVerbalizablevocabulary - The vocabulary.null.protected IlrTerm buildDefaultTerm(IlrVocabulary voc)
voc - the vocabulary for which this term is created© Copyright IBM Corp. 1987, 2017