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

    The grammar anchoring

    The grammar anchoring

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

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    TreeMarginalParseMarginal
  14. def finalize(): Unit

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

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

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

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

    Definition Classes
    Any
  19. def isMaxMarginal: Boolean

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

    Definition Classes
    ParseMarginal
  21. def length: Int

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

    Definition Classes
    ParseMarginal
  23. val logPartition: Double

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

  25. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

  31. 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
  32. 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
  33. final def wait(): Unit

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

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

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