trait ParseMarginal[L, W] extends VisitableMarginal[AnchoredVisitor[L]]

Represents marginals over trees. Can also extract expected counts

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParseMarginal
  2. VisitableMarginal
  3. Marginal
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def anchoring: GrammarAnchoring[L, W]
  2. abstract def feasibleSplitPoints(begin: Int, end: Int, leftChild: Int, leftChildRef: Int, rightChild: Int, rightChildRef: Int): IndexedSeq[Int]
  3. abstract def insideBotScore(begin: Int, end: Int, sym: Int, ref: Int): Double
  4. abstract def insideTopScore(begin: Int, end: Int, sym: Int, ref: Int): Double
  5. abstract def isMaxMarginal: Boolean
  6. abstract def logPartition: Double
    Definition Classes
    ParseMarginalMarginal
  7. abstract def visitPostorder(spanVisitor: AnchoredVisitor[L], spanThreshold: Double = Double.NegativeInfinity): Unit

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

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def expectedCounts[Feat](featurizer: RefinedFeaturizer[L, W, Feat], counts: StandardExpectedCounts[Feat], scale: Double): StandardExpectedCounts[Feat]
  9. def expectedCounts[Feat](featurizer: RefinedFeaturizer[L, W, Feat]): StandardExpectedCounts[Feat]
  10. def expectedRuleCounts: StandardExpectedCounts[Rule[L]]
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def labelMarginals: (TriangularArray[Counter[L, Double]], TriangularArray[Counter[L, Double]])
  16. def length: Int
  17. def lexicon: Lexicon[L, W]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def topology: RuleTopology[L]
  24. 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

    Definition Classes
    ParseMarginalVisitableMarginal
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def words: IndexedSeq[W]

Inherited from VisitableMarginal[AnchoredVisitor[L]]

Inherited from Marginal

Inherited from AnyRef

Inherited from Any

Ungrouped