Class

org.clulab.polarity.ml.data

RRNInput

Related Doc: package data

Permalink

implicit final class RRNInput extends AnyVal

Any val class to marshal a bio event mention to the lemma sequence used as input to the RNN

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RRNInput
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RRNInput(event: BioEventMention)

    Permalink

    event

    to be operated on

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val event: BioEventMention

    Permalink

    to be operated on

  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def lemmasForPolarity(window: Int = 0): Seq[String]

    Permalink

    Returns the lemmas passed to a LSTM classifier for polarity

    Returns the lemmas passed to a LSTM classifier for polarity

    window

    in number of tokens to the left and right of the event text

    returns

    The lemmas comprising the text event plus the windows to the left and right

  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped