Class

epic.parser.models

AnnotatedParserInference

Related Doc: package models

Permalink

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

Parser inference for parses that have only observed annotations. Handles Structured, Span, and Lexicalized annotations.

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. AnnotatedParserInference
  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 AnnotatedParserInference(featurizer: RefinedFeaturizer[L, W, Feature], annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[(L, Int)], grammar: Grammar[L, W], constrainer: Factory[L, W])

    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[(L, Int)]

    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
    @throws( ... )
  8. val constrainer: Factory[L, W]

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

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

    Permalink
  11. def finalize(): Unit

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

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

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

    Permalink
  15. 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
  16. val grammar: Grammar[L, W]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    ParserInferenceProjectableInference
  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(): Unit

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

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

    Permalink
    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