Class

epic.sequences

CRFInference

Related Doc: package sequences

Permalink

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])

    Permalink

Type Members

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

    Permalink
  2. type ExpectedCounts = StandardExpectedCounts[Feature]

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

    Permalink
    Definition Classes
    CRFInferenceInference
  4. type Scorer = CRF.Anchoring[L, W]

    Permalink
    Definition Classes
    CRFInferenceInference

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

    Permalink
    Definition Classes
    CRFInferenceCRF
  5. def annotate(datum: TaggedSequence[L, W], m: Marginal): TaggedSequence[L, W]

    Permalink
    Definition Classes
    CRFInferenceAnnotatingInference
  6. final def asInstanceOf[T0]: T0

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

    Permalink

    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]

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

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

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def forTesting: AugmentableInference[TaggedSequence[L, W], CRF.Anchoring[L, W]]

    Permalink
    Definition Classes
    AugmentableInferenceInference
  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    CRFInferenceAugmentableInference
  18. def goldMarginal(tags: IndexedSeq[L], w: IndexedSeq[W]): CRF.Marginal[L, W]

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

    Permalink

    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

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

    Permalink
    Definition Classes
    Any
  22. def labelIndex: Index[L]

    Permalink
    Definition Classes
    CRFInferenceCRF
  23. val lexicon: Factory[L, W]

    Permalink
  24. def marginal(scorer: Scorer, v: TaggedSequence[L, W], aug: CRF.Anchoring[L, W]): CRF.Marginal[L, W]

    Permalink
    Definition Classes
    CRFInferenceAugmentableInference
  25. def marginal(w: IndexedSeq[W]): CRF.Marginal[L, W]

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

    Permalink

    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

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

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

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

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

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

    Permalink
    Definition Classes
    CRFInferenceAugmentableInferenceInference
  33. def startSymbol: L

    Permalink
    Definition Classes
    CRFInferenceCRF
  34. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
  37. final def wait(): Unit

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

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

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

    Permalink

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