Packages

c

simplenlg.format.english

MarkupRealiser

class MarkupRealiser extends Realiser

Linear Supertypes
Realiser, NLGModule, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MarkupRealiser
  2. Realiser
  3. NLGModule
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MarkupRealiser(lexicon: Lexicon)

    Create a realiser with a lexicon (should match lexicon used for NLGFactory)

  2. new MarkupRealiser()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def getLexicon(): Lexicon
    Definition Classes
    NLGModule
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def initialise(): Unit
    Definition Classes
    MarkupRealiser → Realiser → NLGModule
    Annotations
    @Override()
  12. 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

    true if cue phrases have a comma before the remainder of the host phrase

    Definition Classes
    MarkupRealiser → Realiser
  13. 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

    true if premodifiers in the noun phrase are comma-separated.

    Definition Classes
    MarkupRealiser → Realiser
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def realise(elements: List[NLGElement]): List[NLGElement]
    Definition Classes
    MarkupRealiser → Realiser → NLGModule
    Annotations
    @Override()
  19. def realise(element: NLGElement): NLGElement
    Definition Classes
    MarkupRealiser → Realiser → NLGModule
    Annotations
    @Override()
  20. 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
  21. 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. If false, they won't.
    Implementation note:: this method sets the relevant parameter in the { simplenlg.orthography.english.OrthographyProcessor}.

    Definition Classes
    MarkupRealiser → Realiser
  22. 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. If false, 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
  23. def setDebugMode(debugOn: Boolean): Unit
    Definition Classes
    MarkupRealiser → Realiser
  24. def setFormatter(formatter: NLGModule): Unit
    Definition Classes
    MarkupRealiser → Realiser
  25. def setLexicon(newLexicon: Lexicon): Unit
    Definition Classes
    MarkupRealiser → Realiser → NLGModule
    Annotations
    @Override()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Realiser

Inherited from NLGModule

Inherited from AnyRef

Inherited from Any

Ungrouped