epic.sequences

SemiCRFInference

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

Annotations
@SerialVersionUID( 1 )
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. 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
  8. def bestSequence(w: IndexedSeq[W], id: String = ""): Segmentation[L, W]

    Definition Classes
    SemiCRF
  9. def clone(): AnyRef

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

  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

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

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

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

    Definition Classes
    Any
  20. def labelIndex: Index[L]

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

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

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

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

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

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

    Definition Classes
    AnyRef
  28. def outsideSymbol: L

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

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

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

    Definition Classes
    SemiCRFInferenceSemiCRF
  32. def startSymbol: L

    Definition Classes
    SemiCRFInferenceSemiCRF
  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: SemiCRF.Anchoring[L, W]): Segmentation[L, W]

  36. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. 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