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
Learn more about member selection
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
    @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 finalize(): Unit

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

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

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

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

    Definition Classes
    SemiCRF
  16. 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
  17. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    SemiCRFInferenceSemiCRF
  30. def startSymbol: L

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

    Definition Classes
    AnyRef
  32. def toString(): String

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

  34. final def wait(): Unit

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

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

    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