Class

epic.sequences

SemiCRFInference

Related Doc: package sequences

Permalink

class SemiCRFInference[L, W] extends AugmentableInference[Segmentation[L, W], Anchoring[L, W]] with SemiCRF[L, W] with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
SemiCRF[L, W], AugmentableInference[Segmentation[L, W], SemiCRF.Anchoring[L, W]], Inference[Segmentation[L, W]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemiCRFInference
  2. SemiCRF
  3. AugmentableInference
  4. Inference
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SemiCRFInference(weights: DenseVector[Double], featureIndex: Index[Feature], featurizer: BIEOFeaturizer[L, W], constraintsFactory: Factory[L, W])

    Permalink

Type Members

  1. case class Anchoring(localization: BIEOFeatureAnchoring[L, W], constraints: LabeledSpanConstraints[L]) extends SemiCRF.Anchoring[L, W] with Product with Serializable

    Permalink
  2. type Marginal = SemiCRF.Marginal[L, W]

    Permalink
    Definition Classes
    SemiCRFInferenceInference
  3. type Scorer = SemiCRF.Anchoring[L, W]

    Permalink
    Definition Classes
    SemiCRFInferenceInference

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def baseAugment(v: Segmentation[L, W]): SemiCRF.Anchoring[L, W]

    Permalink

    The "no prior information" augment.

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

    Definition Classes
    SemiCRFInferenceAugmentableInference
  6. def bestSequence(w: IndexedSeq[W], id: String = ""): Segmentation[L, W]

    Permalink
    Definition Classes
    SemiCRF
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val constraintsFactory: Factory[L, W]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def goldMarginal(scorer: Scorer, v: Segmentation[L, W], aug: SemiCRF.Anchoring[L, W]): Marginal

    Permalink
    Definition Classes
    SemiCRFInferenceAugmentableInference
  15. def goldMarginal(segmentation: IndexedSeq[(L, Span)], w: IndexedSeq[W]): SemiCRF.Marginal[L, W]

    Permalink
    Definition Classes
    SemiCRF
  16. def goldMarginal(scorer: Scorer, v: Segmentation[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
  17. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  19. val labelIndex: OptionIndex[L]

    Permalink
    Definition Classes
    SemiCRFInferenceSemiCRF
  20. def marginal(scorer: Scorer, v: Segmentation[L, W], aug: SemiCRF.Anchoring[L, W]): Marginal

    Permalink
    Definition Classes
    SemiCRFInferenceAugmentableInference
  21. def marginal(w: IndexedSeq[W]): SemiCRF.Marginal[L, W]

    Permalink
    Definition Classes
    SemiCRF
  22. def marginal(scorer: Scorer, v: Segmentation[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
  23. def marginal(v: Segmentation[L, W]): Marginal

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

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

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

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

    Permalink
  28. def scorer(v: Segmentation[L, W]): Scorer

    Permalink
  29. def scorer(w: IndexedSeq[W]): Anchoring

    Permalink
    Definition Classes
    SemiCRFInferenceSemiCRF
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  32. def viterbi(sentence: IndexedSeq[W], anchoring: SemiCRF.Anchoring[L, W]): Segmentation[L, W]

    Permalink
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SemiCRF[L, W]

Inherited from AugmentableInference[Segmentation[L, W], SemiCRF.Anchoring[L, W]]

Inherited from Inference[Segmentation[L, W]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped