epic.parser

TreeMarginal

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val anchoring: GrammarAnchoring[L, W]

    The grammar anchoring

    The grammar anchoring

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

    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    TreeMarginalParseMarginal
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def insideBotScore(begin: Int, end: Int, sym: Int, ref: Int): Double

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

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

    Definition Classes
    Any
  17. def isMaxMarginal: Boolean

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

    Definition Classes
    ParseMarginal
  19. def length: Int

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

    Definition Classes
    ParseMarginal
  21. val logPartition: Double

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

  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def topology: RuleTopology[L]

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

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

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

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

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

    spanVisitor

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

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

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

    Definition Classes
    TreeMarginalParseMarginal
  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( ... )
  34. def words: IndexedSeq[W]

    Definition Classes
    ParseMarginal

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