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
    @HotSpotIntrinsicCandidate() @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 forTesting: AugmentableInference[TaggedSequence[L, W], CRF.Anchoring[L, W]]

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

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

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

    Permalink
    Definition Classes
    CRF
  18. 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
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    CRF
  25. 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
  26. def marginal(v: TaggedSequence[L, W]): Marginal

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. def posteriorDecode(m: Marginal): TaggedSequence[L, W]

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

    Permalink
    Definition Classes
    CRFInferenceAugmentableInferenceInference
  32. def startSymbol: L

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

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

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

    Permalink
  36. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(): Unit

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

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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