epic.parser.models

LatentParserInference

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
Learn more about member selection
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])

Type Members

  1. type ExpectedCounts = StandardExpectedCounts[Feature]

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

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

    Definition Classes
    ParserInferenceInference

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

  7. final def asInstanceOf[T0]: T0

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

    The "no prior information" augment.

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

    Definition Classes
    ParserInferenceAugmentableInference
  9. def clone(): AnyRef

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

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

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

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def forTesting: LatentParserInference[L, L2, W]

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def goldMarginal(scorer: Scorer, ti: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[L, W]): Marginal

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

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

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

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

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

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

    Definition Classes
    AnyRef
  26. def project(v: TreeInstance[L, W], s: Scorer, m: Marginal, oldAugment: UnrefinedGrammarAnchoring[L, W]): UnrefinedGrammarAnchoring[L, W]

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

  28. def projector: EPProjector[L, W]

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

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

    Definition Classes
    AnyRef
  31. final def wait(): Unit

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

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