Class/Object

epic.parser

TreeMarginal

Related Docs: object TreeMarginal | package parser

Permalink

case class TreeMarginal[L, W](anchoring: GrammarAnchoring[L, W], tree: BinarizedTree[(L, Int)]) extends ParseMarginal[L, W] with Product with Serializable

This isn't really a marginal, except in a degenerate sense. It gives the likelihood of a known fixed tree under the Anchoring as well as expected counts (i.e. count the occurrences of each rule.)

anchoring

The grammar anchoring

tree

A tree that has been decorated with the gold refinements at each leaf

Linear Supertypes
Serializable, Serializable, Product, Equals, ParseMarginal[L, W], VisitableMarginal[AnchoredVisitor[L]], Marginal, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeMarginal
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ParseMarginal
  7. VisitableMarginal
  8. Marginal
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeMarginal(anchoring: GrammarAnchoring[L, W], tree: BinarizedTree[(L, Int)])

    Permalink

    anchoring

    The grammar anchoring

    tree

    A tree that has been decorated with the gold refinements at each leaf

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 anchoring: GrammarAnchoring[L, W]

    Permalink

    The grammar anchoring

    The grammar anchoring

    Definition Classes
    TreeMarginalParseMarginal
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def expectedCounts[Feat](featurizer: RefinedFeaturizer[L, W, Feat], counts: StandardExpectedCounts[Feat], scale: Double): StandardExpectedCounts[Feat]

    Permalink
    Definition Classes
    ParseMarginal
  9. def expectedCounts[Feat](featurizer: RefinedFeaturizer[L, W, Feat]): StandardExpectedCounts[Feat]

    Permalink
    Definition Classes
    ParseMarginal
  10. def expectedRuleCounts: StandardExpectedCounts[Rule[L]]

    Permalink
    Definition Classes
    ParseMarginal
  11. def feasibleSplitPoints(begin: Int, end: Int, leftChild: Int, leftChildRef: Int, rightChild: Int, rightChildRef: Int): IndexedSeq[Int]

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def insideBotScore(begin: Int, end: Int, sym: Int, ref: Int): Double

    Permalink
    Definition Classes
    TreeMarginalParseMarginal
  14. def insideTopScore(begin: Int, end: Int, sym: Int, ref: Int): Double

    Permalink
    Definition Classes
    TreeMarginalParseMarginal
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isMaxMarginal: Boolean

    Permalink
    Definition Classes
    TreeMarginalParseMarginal
  17. def labelMarginals: (TriangularArray[Counter[L, Double]], TriangularArray[Counter[L, Double]])

    Permalink
    Definition Classes
    ParseMarginal
  18. def length: Int

    Permalink
    Definition Classes
    ParseMarginal
  19. def lexicon: Lexicon[L, W]

    Permalink
    Definition Classes
    ParseMarginal
  20. val logPartition: Double

    Permalink
    Definition Classes
    TreeMarginalParseMarginalMarginal
  21. def marginalAt(begin: Int, end: Int): Counter2[L, Int, Double]

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def topology: RuleTopology[L]

    Permalink
    Definition Classes
    ParseMarginal
  27. val tree: BinarizedTree[(L, Int)]

    Permalink

    A tree that has been decorated with the gold refinements at each leaf

  28. def visit(spanVisitor: AnchoredVisitor[L]): Unit

    Permalink

    Visits the forest (if applicable) in whatever order is appropriate

    Visits the forest (if applicable) in whatever order is appropriate

    Definition Classes
    ParseMarginalVisitableMarginal
  29. def visitPostorder(visitor: AnchoredVisitor[L], threshold: Double = Double.NegativeInfinity): Unit

    Permalink

    Forest traversal that visits spans in a "bottom up" order.

    Forest traversal that visits spans in a "bottom up" order.

    Definition Classes
    TreeMarginalParseMarginal
  30. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def words: IndexedSeq[W]

    Permalink
    Definition Classes
    ParseMarginal

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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ParseMarginal[L, W]

Inherited from VisitableMarginal[AnchoredVisitor[L]]

Inherited from Marginal

Inherited from AnyRef

Inherited from Any

Ungrouped