class SemiCRFInference[L, W] extends AugmentableInference[Segmentation[L, W], Anchoring[L, W]] with SemiCRF[L, W] with Serializable
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SemiCRFInference
- SemiCRF
- AugmentableInference
- Inference
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SemiCRFInference(weights: DenseVector[Double], featureIndex: Index[Feature], featurizer: BIEOFeaturizer[L, W], constraintsFactory: Factory[L, W])
Type Members
- case class Anchoring (localization: BIEOFeatureAnchoring[L, W], constraints: LabeledSpanConstraints[L]) extends SemiCRF.Anchoring[L, W] with Product with Serializable
-
type
Marginal = SemiCRF.Marginal[L, W]
- Definition Classes
- SemiCRFInference → Inference
-
type
Scorer = SemiCRF.Anchoring[L, W]
- Definition Classes
- SemiCRFInference → Inference
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
- SemiCRFInference → AugmentableInference
-
def
bestSequence(w: IndexedSeq[W], id: String = ""): Segmentation[L, W]
- Definition Classes
- SemiCRF
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val constraintsFactory: Factory[L, W]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forTesting: AugmentableInference[Segmentation[L, W], SemiCRF.Anchoring[L, W]]
- Definition Classes
- AugmentableInference → Inference
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
goldMarginal(scorer: Scorer, v: Segmentation[L, W], aug: SemiCRF.Anchoring[L, W]): Marginal
- Definition Classes
- SemiCRFInference → AugmentableInference
-
def
goldMarginal(segmentation: IndexedSeq[(L, Span)], w: IndexedSeq[W]): SemiCRF.Marginal[L, W]
- Definition Classes
- SemiCRF
-
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
- AugmentableInference → Inference
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
labelIndex: OptionIndex[L]
- Definition Classes
- SemiCRFInference → SemiCRF
-
def
marginal(scorer: Scorer, v: Segmentation[L, W], aug: SemiCRF.Anchoring[L, W]): Marginal
- Definition Classes
- SemiCRFInference → AugmentableInference
-
def
marginal(w: IndexedSeq[W]): SemiCRF.Marginal[L, W]
- Definition Classes
- SemiCRF
-
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
- AugmentableInference → Inference
-
def
marginal(v: Segmentation[L, W]): Marginal
- Definition Classes
- Inference
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def posteriorDecode(m: Marginal): Segmentation[L, W]
-
def
scorer(v: Segmentation[L, W]): Scorer
- Definition Classes
- SemiCRFInference → AugmentableInference → Inference
-
def
scorer(w: IndexedSeq[W]): Anchoring
- Definition Classes
- SemiCRFInference → SemiCRF
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def viterbi(sentence: IndexedSeq[W], anchoring: SemiCRF.Anchoring[L, W]): Segmentation[L, W]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )