c

epic.parser.models

AnnotatedParserInference

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])

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: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[(L, Int)]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val constrainer: Factory[L, W]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val featurizer: RefinedFeaturizer[L, W, Feature]
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def forTesting: AnnotatedParserInference[L, W]
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def goldMarginal(scorer: Scorer, ti: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[L, W]): Marginal
  15. 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
  16. val grammar: Grammar[L, W]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. 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
  19. 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
  20. def marginal(v: TreeInstance[L, W]): Marginal
    Definition Classes
    Inference
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. def project(v: TreeInstance[L, W], s: Scorer, m: Marginal, oldAugment: UnrefinedGrammarAnchoring[L, W]): UnrefinedGrammarAnchoring[L, W]
    Definition Classes
    ParserInferenceProjectableInference
  25. def projector: EPProjector[L, W]
    Attributes
    protected
    Definition Classes
    ParserInference
  26. def scorer(v: TreeInstance[L, W]): Scorer
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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