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
    @native() @HotSpotIntrinsicCandidate() @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 forTesting: AugmentableInference[TaggedSequence[L, W], CRF.Anchoring[L, W]]
    Definition Classes
    AugmentableInferenceInference
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def goldMarginal(scorer: Scorer, v: TaggedSequence[L, W], aug: CRF.Anchoring[L, W]): Marginal
    Definition Classes
    CRFInferenceAugmentableInference
  17. def goldMarginal(tags: IndexedSeq[L], w: IndexedSeq[W]): CRF.Marginal[L, W]
    Definition Classes
    CRF
  18. 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
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def labelIndex: Index[L]
    Definition Classes
    CRFInferenceCRF
  22. val lexicon: Factory[L, W]
  23. def marginal(scorer: Scorer, v: TaggedSequence[L, W], aug: CRF.Anchoring[L, W]): CRF.Marginal[L, W]
    Definition Classes
    CRFInferenceAugmentableInference
  24. def marginal(w: IndexedSeq[W]): CRF.Marginal[L, W]
    Definition Classes
    CRF
  25. 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
  26. def marginal(v: TaggedSequence[L, W]): Marginal
    Definition Classes
    Inference
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def posteriorDecode(m: Marginal): TaggedSequence[L, W]
  31. def scorer(v: TaggedSequence[L, W]): Scorer
    Definition Classes
    CRFInferenceAugmentableInferenceInference
  32. def startSymbol: L
    Definition Classes
    CRFInferenceCRF
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def viterbi(sentence: IndexedSeq[W], anchoring: CRF.Anchoring[L, W]): TaggedSequence[L, W]
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. val weights: DenseVector[Double]

Deprecated Value Members

  1. def finalize(): Unit
    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