cc.factorie.app.chain

Observations

object Observations

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Observations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addFeatures[A <: Observation[A]](observations: Seq[A], vf: (A) ⇒ CategoricalVectorVar[String], f1: (A) ⇒ String, i1: Int, f2: (A) ⇒ String, i2: Int, f3: (A) ⇒ String, i3: Int): Unit

    Add trinary conjunction feature to each Observation.

  7. def addFeatures[A <: Observation[A]](observations: Seq[A], vf: (A) ⇒ CategoricalVectorVar[String], f1: (A) ⇒ String, i1: Int, f2: (A) ⇒ String, i2: Int): Unit

    Add binary conjunction feature to each Observation.

  8. def addFeatures[A <: Observation[A]](observations: Seq[A], vf: (A) ⇒ CategoricalVectorVar[String], f1: (A) ⇒ String, i1: Int): Unit

    Add feature to each Observation.

  9. def addNeighboringFeatureConjunctions[A <: Observation[A]](observations: IndexedSeq[A], vf: (A) ⇒ CategoricalVectorVar[String], regex: String, offsetConjunctions: Seq[Int]*): Unit

    Add new features created as conjunctions of existing features, with the given offsets, but only add features matching regex pattern.

  10. def addNeighboringFeatureConjunctions[A <: Observation[A]](observations: IndexedSeq[A], vf: (A) ⇒ CategoricalVectorVar[String], offsetConjunctions: Seq[Int]*): Unit

  11. def addNeighboringFeatures[A <: Observation[A]](observations: Seq[A], vf: (A) ⇒ CategoricalVectorVar[String], preOffset: Int, postOffset: Int): Unit

    Copy features into each token from its preceding and following tokens, with preceding extent equal to preOffset and following extent equal to -postOffset.

    Copy features into each token from its preceding and following tokens, with preceding extent equal to preOffset and following extent equal to -postOffset. In other words, to add features from the three preceding tokens and the two following tokens, pass arguments (-3,2). Features from preceding tokens will have suffixes like "@-1", "@-2", etc. Features from following tokens will have suffixes like "@+1", "@+2", etc. The functionality of this method is completely covered as a special case of addNeighboringFeatureConjunctions, but for the simple case, this one is easier to call.

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  16. def extractBIO[T](s: Seq[T], labeler: (T) ⇒ String): Seq[(String, Seq[T])]

    Given a sequence and a labeling function extract segments encoded in the BIO or IOB scheme.

    Given a sequence and a labeling function extract segments encoded in the BIO or IOB scheme. Note: a hueristic correction is applied when a segment starts with "I-"

  17. def extractContiguous[T](s: Seq[T], labeler: (T) ⇒ String, background: String = "O"): Seq[(String, Seq[T])]

    Extract a collection contiguous non-"background" labels

  18. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped