class MarkupRealiser extends Realiser
- Alphabetic
- By Inheritance
- MarkupRealiser
- Realiser
- NLGModule
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getLexicon(): Lexicon
- Definition Classes
- NLGModule
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def initialise(): Unit
- Definition Classes
- MarkupRealiser → Realiser → NLGModule
- Annotations
- @Override()
- def isCommaSepCuephrase(): Boolean
Check whether this processor separates cue phrases from the matrix clause using a comma.
Check whether this processor separates cue phrases from the matrix clause using a comma.
Implementation note: this method checks whether the { simplenlg.orthography.english.OrthographyProcessor} has the parameter set.- returns
trueif cue phrases have a comma before the remainder of the host phrase
- Definition Classes
- MarkupRealiser → Realiser
- def isCommaSepPremodifiers(): Boolean
Check whether this processor separates premodifiers using a comma.
Check whether this processor separates premodifiers using a comma.
Implementation note: this method checks whether the {simplenlg.orthography.english.OrthographyProcessor} has the parameter set.- returns
trueif premodifiers in the noun phrase are comma-separated.
- Definition Classes
- MarkupRealiser → Realiser
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def realise(elements: List[NLGElement]): List[NLGElement]
- Definition Classes
- MarkupRealiser → Realiser → NLGModule
- Annotations
- @Override()
- def realise(element: NLGElement): NLGElement
- Definition Classes
- MarkupRealiser → Realiser → NLGModule
- Annotations
- @Override()
- def realiseSentence(element: NLGElement): String
Convenience class to realise any NLGElement as a sentence
Convenience class to realise any NLGElement as a sentence
- returns
String realisation of the NLGElement
- Definition Classes
- MarkupRealiser → Realiser
- def setCommaSepCuephrase(commaSepCuephrase: Boolean): Unit
Set whether to separate cue phrases from the host phrase using a comma.
Set whether to separate cue phrases from the host phrase using a comma. If
true, a comma will be inserted, as in however, Bill arrived late. Iffalse, they won't.
Implementation note:: this method sets the relevant parameter in the { simplenlg.orthography.english.OrthographyProcessor}.- Definition Classes
- MarkupRealiser → Realiser
- def setCommaSepPremodifiers(commaSepPremodifiers: Boolean): Unit
Set whether to separate premodifiers using a comma.
Set whether to separate premodifiers using a comma. If
true, premodifiers will be comma-separated, as in the long, dark road. Iffalse, they won't.
Implementation note:: this method sets the relevant parameter in the { simplenlg.orthography.english.OrthographyProcessor}.- commaSepPremodifiers
the commaSepPremodifiers to set
- Definition Classes
- MarkupRealiser → Realiser
- def setDebugMode(debugOn: Boolean): Unit
- Definition Classes
- MarkupRealiser → Realiser
- def setFormatter(formatter: NLGModule): Unit
- Definition Classes
- MarkupRealiser → Realiser
- def setLexicon(newLexicon: Lexicon): Unit
- Definition Classes
- MarkupRealiser → Realiser → NLGModule
- Annotations
- @Override()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)