c

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()
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
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
    CRFInferenceInference
  4. type Scorer = CRF.Anchoring[L, W]
    Definition Classes
    CRFInferenceInference

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. def anchor(w: IndexedSeq[W]): Anchoring
    Definition Classes
    CRFInferenceCRF
  5. def annotate(datum: TaggedSequence[L, W], m: Marginal): TaggedSequence[L, W]
    Definition Classes
    CRFInferenceAnnotatingInference
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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
    CRFInferenceAugmentableInference
  8. def bestSequence(w: IndexedSeq[W], id: String = ""): TaggedSequence[L, W]
    Definition Classes
    CRF
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def emptyCounts: StandardExpectedCounts[Feature]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. val featureIndex: Index[Feature]
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def forTesting: AugmentableInference[TaggedSequence[L, W], CRF.Anchoring[L, W]]
    Definition Classes
    AugmentableInferenceInference
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def goldMarginal(scorer: Scorer, v: TaggedSequence[L, W], aug: CRF.Anchoring[L, W]): Marginal
    Definition Classes
    CRFInferenceAugmentableInference
  18. def goldMarginal(tags: IndexedSeq[L], w: IndexedSeq[W]): CRF.Marginal[L, W]
    Definition Classes
    CRF
  19. 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
    AugmentableInferenceInference
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def labelIndex: Index[L]
    Definition Classes
    CRFInferenceCRF
  23. val lexicon: Factory[L, W]
  24. def marginal(scorer: Scorer, v: TaggedSequence[L, W], aug: CRF.Anchoring[L, W]): CRF.Marginal[L, W]
    Definition Classes
    CRFInferenceAugmentableInference
  25. def marginal(w: IndexedSeq[W]): CRF.Marginal[L, W]
    Definition Classes
    CRF
  26. 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
    AugmentableInferenceInference
  27. def marginal(v: TaggedSequence[L, W]): Marginal
    Definition Classes
    Inference
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. def posteriorDecode(m: Marginal): TaggedSequence[L, W]
  32. def scorer(v: TaggedSequence[L, W]): Scorer
    Definition Classes
    CRFInferenceAugmentableInferenceInference
  33. def startSymbol: L
    Definition Classes
    CRFInferenceCRF
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def viterbi(sentence: IndexedSeq[W], anchoring: CRF.Anchoring[L, W]): TaggedSequence[L, W]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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