c

epic.sequences

SemiCRFInference

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

Type Members

  1. case class Anchoring(localization: BIEOFeatureAnchoring[L, W], constraints: LabeledSpanConstraints[L]) extends SemiCRF.Anchoring[L, W] with Product with Serializable
  2. type Marginal = SemiCRF.Marginal[L, W]
    Definition Classes
    SemiCRFInferenceInference
  3. type Scorer = SemiCRF.Anchoring[L, W]
    Definition Classes
    SemiCRFInferenceInference

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseAugment(v: Segmentation[L, W]): SemiCRF.Anchoring[L, W]

    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]
    Definition Classes
    SemiCRF
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  8. val constraintsFactory: Factory[L, W]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def forTesting: AugmentableInference[Segmentation[L, W], SemiCRF.Anchoring[L, W]]
    Definition Classes
    AugmentableInferenceInference
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def goldMarginal(scorer: Scorer, v: Segmentation[L, W], aug: SemiCRF.Anchoring[L, W]): Marginal
    Definition Classes
    SemiCRFInferenceAugmentableInference
  14. def goldMarginal(segmentation: IndexedSeq[(L, Span)], w: IndexedSeq[W]): SemiCRF.Marginal[L, W]
    Definition Classes
    SemiCRF
  15. def goldMarginal(scorer: Scorer, v: Segmentation[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
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val labelIndex: OptionIndex[L]
    Definition Classes
    SemiCRFInferenceSemiCRF
  19. def marginal(scorer: Scorer, v: Segmentation[L, W], aug: SemiCRF.Anchoring[L, W]): Marginal
    Definition Classes
    SemiCRFInferenceAugmentableInference
  20. def marginal(w: IndexedSeq[W]): SemiCRF.Marginal[L, W]
    Definition Classes
    SemiCRF
  21. def marginal(scorer: Scorer, v: Segmentation[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
  22. def marginal(v: Segmentation[L, W]): Marginal
    Definition Classes
    Inference
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def posteriorDecode(m: Marginal): Segmentation[L, W]
  27. def scorer(v: Segmentation[L, W]): Scorer
  28. def scorer(w: IndexedSeq[W]): Anchoring
    Definition Classes
    SemiCRFInferenceSemiCRF
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def viterbi(sentence: IndexedSeq[W], anchoring: SemiCRF.Anchoring[L, W]): Segmentation[L, W]
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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