Trait

org.clulab.sequences

SequenceTagger

Related Doc: package sequences

Permalink

trait SequenceTagger[L, F] extends AnyRef

Trait for all sequence taggers User: mihais Date: 8/25/17

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequenceTagger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def classesOf(sentence: Sentence): Array[L]

    Permalink
  2. abstract def featureExtractor(features: Counter[F], sentence: Sentence, offset: Int): Unit

    Permalink

    Abstract method that generates the features for the word at the position offset in the given sentence

  3. abstract def labelExtractor(sentence: Sentence): Array[L]

    Permalink

    Abstract method that extracts the training labels for a given sentence

  4. abstract def load(is: InputStream): Unit

    Permalink
  5. abstract def mkFeatAtBeginSent(position: Int, prefix: String): F

    Permalink
  6. abstract def mkFeatAtEndSent(position: Int, prefix: String): F

    Permalink
  7. abstract def mkFeatAtHistory(position: Int, prefix: String, label: L): F

    Permalink
  8. abstract def save(fn: File): Unit

    Permalink
  9. abstract def train(docs: Iterator[Document]): Unit

    Permalink

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addFirstPassFeatures(features: Counter[F], order: Int, labels: Seq[L], offset: Int): Unit

    Permalink
  5. def addHistoryFeatures(features: Counter[F], order: Int, labels: Seq[L], offset: Int): Unit

    Permalink
  6. def addLeftFeatures(features: Counter[F], order: Int, prefix: String, labels: Seq[L], offset: Int): Unit

    Permalink
  7. def addRightFeatures(features: Counter[F], order: Int, prefix: String, labels: Seq[L], offset: Int): Unit

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def loadFromFile(fn: File): Unit

    Permalink
  17. def loadFromResource(rn: String): Unit

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped