epic.sequences

CRFInference

class CRFInference[L, W] extends AugmentableInference[TaggedSequence[L, W], Anchoring[L, W]] with CRF[L, W] with AnnotatingInference[TaggedSequence[L, W]] with Serializable

Annotations
@SerialVersionUID( 1 )
Linear Supertypes
AnnotatingInference[TaggedSequence[L, W]], CRF[L, W], AugmentableInference[TaggedSequence[L, W], CRF.Anchoring[L, W]], Inference[TaggedSequence[L, W]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CRFInference
  2. AnnotatingInference
  3. CRF
  4. AugmentableInference
  5. Inference
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CRFInference(weights: DenseVector[Double], featureIndex: Index[Feature], lexicon: Factory[L, W], featurizer: IndexedFeaturizer[L, W])

Type Members

  1. class Anchoring extends CRF.Anchoring[L, W]

  2. type ExpectedCounts = StandardExpectedCounts[Feature]

  3. type Marginal = CRF.Marginal[L, W]

    Definition Classes
    CRFInference → Inference
  4. type Scorer = CRF.Anchoring[L, W]

    Definition Classes
    CRFInference → Inference

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 anchor(w: IndexedSeq[W]): Anchoring

    Definition Classes
    CRFInference → CRF
  7. def annotate(datum: TaggedSequence[L, W], m: Marginal): TaggedSequence[L, W]

    Definition Classes
    CRFInference → AnnotatingInference
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def baseAugment(v: TaggedSequence[L, W]): CRF.Anchoring[L, W]

    The "no prior information" augment.

    The "no prior information" augment. Used if nothing is passed in.

    Definition Classes
    CRFInference → AugmentableInference
  10. def bestSequence(w: IndexedSeq[W], id: String = ""): TaggedSequence[L, W]

    Definition Classes
    CRF
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def emptyCounts: StandardExpectedCounts[Feature]

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. val featureIndex: Index[Feature]

  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def goldMarginal(scorer: Scorer, v: TaggedSequence[L, W], aug: CRF.Anchoring[L, W]): Marginal

    Definition Classes
    CRFInference → AugmentableInference
  19. def goldMarginal(tags: IndexedSeq[L], w: IndexedSeq[W]): CRF.Marginal[L, W]

    Definition Classes
    CRF
  20. def goldMarginal(scorer: Scorer, v: TaggedSequence[L, W]): Marginal

    Produces the "gold marginal" which is the marginal conditioned on the output label/structure itself.

    Produces the "gold marginal" which is the marginal conditioned on the output label/structure itself.

    v

    the example

    returns

    gold marginal

    Definition Classes
    AugmentableInference → Inference
  21. def hashCode(): Int

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

    Definition Classes
    Any
  23. def labelIndex: Index[L]

    Definition Classes
    CRFInference → CRF
  24. val lexicon: Factory[L, W]

    Definition Classes
    CRFInference → CRF
  25. def marginal(scorer: Scorer, v: TaggedSequence[L, W], aug: CRF.Anchoring[L, W]): CRF.Marginal[L, W]

    Definition Classes
    CRFInference → AugmentableInference
  26. def marginal(w: IndexedSeq[W]): CRF.Marginal[L, W]

    Definition Classes
    CRF
  27. def marginal(scorer: Scorer, v: TaggedSequence[L, W]): Marginal

    Produces the "guess marginal" which is the marginal conditioned on only the input data

    Produces the "guess marginal" which is the marginal conditioned on only the input data

    v

    the example

    returns

    gold marginal

    Definition Classes
    AugmentableInference → Inference
  28. def marginal(v: TaggedSequence[L, W]): Marginal

    Definition Classes
    Inference
  29. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  32. def posteriorDecode(m: Marginal): TaggedSequence[L, W]

  33. def scorer(v: TaggedSequence[L, W]): Scorer

    Definition Classes
    CRFInference → AugmentableInference → Inference
  34. def startSymbol: L

    Definition Classes
    CRFInference → CRF
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def viterbi(sentence: IndexedSeq[W], anchoring: CRF.Anchoring[L, W]): TaggedSequence[L, W]

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. val weights: DenseVector[Double]

Inherited from AnnotatingInference[TaggedSequence[L, W]]

Inherited from CRF[L, W]

Inherited from AugmentableInference[TaggedSequence[L, W], CRF.Anchoring[L, W]]

Inherited from Inference[TaggedSequence[L, W]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped