Class

epic.parser.models

LatentParserInference

Related Doc: package models

Permalink

case class LatentParserInference[L, L2, W](featurizer: RefinedFeaturizer[L, W, Feature], annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[IndexedSeq[L2]], grammar: Grammar[L, W], constrainer: Factory[L, W], projections: GrammarRefinements[L, L2]) extends ParserInference[L, W] with Product with Serializable

Linear Supertypes
Product, Equals, ParserInference[L, W], ProjectableInference[TreeInstance[L, W], UnrefinedGrammarAnchoring[L, W]], AugmentableInference[TreeInstance[L, W], UnrefinedGrammarAnchoring[L, W]], Inference[TreeInstance[L, W]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LatentParserInference
  2. Product
  3. Equals
  4. ParserInference
  5. ProjectableInference
  6. AugmentableInference
  7. Inference
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LatentParserInference(featurizer: RefinedFeaturizer[L, W, Feature], annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[IndexedSeq[L2]], grammar: Grammar[L, W], constrainer: Factory[L, W], projections: GrammarRefinements[L, L2])

    Permalink

Type Members

  1. type ExpectedCounts = StandardExpectedCounts[Feature]

    Permalink
    Definition Classes
    ParserInference
  2. type Marginal = ParseMarginal[L, W]

    Permalink
    Definition Classes
    ParserInferenceInference
  3. type Scorer = GrammarAnchoring[L, W]

    Permalink
    Definition Classes
    ParserInferenceInference

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. val annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[IndexedSeq[L2]]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def baseAugment(v: TreeInstance[L, W]): UnrefinedGrammarAnchoring[L, W]

    Permalink

    The "no prior information" augment.

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

    Definition Classes
    ParserInferenceAugmentableInference
  7. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef
  10. val featurizer: RefinedFeaturizer[L, W, Feature]

    Permalink
  11. def forTesting: LatentParserInference[L, L2, W]

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def goldMarginal(scorer: Scorer, ti: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[L, W]): Marginal

    Permalink
  14. def goldMarginal(scorer: Scorer, v: TreeInstance[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
  15. val grammar: Grammar[L, W]

    Permalink
    Definition Classes
    LatentParserInferenceParserInference
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def marginal(scorer: Scorer, v: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[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
    ParserInferenceAugmentableInference
  18. def marginal(scorer: Scorer, v: TreeInstance[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
  19. def marginal(v: TreeInstance[L, W]): Marginal

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def project(v: TreeInstance[L, W], s: Scorer, m: Marginal, oldAugment: UnrefinedGrammarAnchoring[L, W]): UnrefinedGrammarAnchoring[L, W]

    Permalink
    Definition Classes
    ParserInferenceProjectableInference
  24. val projections: GrammarRefinements[L, L2]

    Permalink
  25. def projector: EPProjector[L, W]

    Permalink
    Attributes
    protected
    Definition Classes
    ParserInference
  26. def scorer(v: TreeInstance[L, W]): Scorer

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

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

Inherited from Equals

Inherited from ParserInference[L, W]

Inherited from Inference[TreeInstance[L, W]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped