Class/Object

epic.parser

RefinedChartMarginal

Related Docs: object RefinedChartMarginal | package parser

Permalink

final case class RefinedChartMarginal[L, W](anchoring: GrammarAnchoring[L, W], inside: RefinedParseChart[L], outside: RefinedParseChart[L], logPartition: Double, isMaxMarginal: Boolean) extends ParseMarginal[L, W] with SafeLogging with Product with Serializable

Holds the information for the marginals for a sentence. That is, the inside and outside scores for a sentence and anchoring.

L

the label type

W

the word type

anchoring

the specialized grammar used to construct the marginals for this sentence

inside

inside chart

outside

outside chart

logPartition

the normalization constant aka inside score of the root aka probability of the sentence

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

Instance Constructors

  1. new RefinedChartMarginal(anchoring: GrammarAnchoring[L, W], inside: RefinedParseChart[L], outside: RefinedParseChart[L], logPartition: Double, isMaxMarginal: Boolean)

    Permalink

    anchoring

    the specialized grammar used to construct the marginals for this sentence

    inside

    inside chart

    outside

    outside chart

    logPartition

    the normalization constant aka inside score of the root aka probability of the sentence

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 specialized grammar used to construct the marginals for this sentence

    the specialized grammar used to construct the marginals for this sentence

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

    Permalink
    Definition Classes
    Any
  6. def checkForSimpleTree(tree: BinarizedTree[L]): RefinedChartMarginal[L, W]

    Permalink
  7. def checkForTree(tree: BinarizedTree[(L, Int)]): RefinedChartMarginal[L, W]

    Permalink
  8. def checkForTreeOutside(tree: BinarizedTree[(L, Int)]): Unit

    Permalink
  9. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    RefinedChartMarginalParseMarginal
  15. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. val inside: RefinedParseChart[L]

    Permalink

    inside chart

  18. def insideBotScore(begin: Int, end: Int, sym: Int, ref: Int): Double

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

    Permalink
    Definition Classes
    RefinedChartMarginalParseMarginal
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val isMaxMarginal: Boolean

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

    Permalink
    Definition Classes
    ParseMarginal
  23. def length: Int

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

    Permalink
    Definition Classes
    ParseMarginal
  25. val logPartition: Double

    Permalink

    the normalization constant aka inside score of the root aka probability of the sentence

    the normalization constant aka inside score of the root aka probability of the sentence

    Definition Classes
    RefinedChartMarginalParseMarginalMarginal
  26. def logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. val outside: RefinedParseChart[L]

    Permalink

    outside chart

  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    ParseMarginal
  34. 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
  35. def visitPostorder(spanVisitor: AnchoredVisitor[L], spanThreshold: 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
    RefinedChartMarginalParseMarginal
  36. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    ParseMarginal

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SafeLogging

Inherited from ParseMarginal[L, W]

Inherited from VisitableMarginal[AnchoredVisitor[L]]

Inherited from Marginal

Inherited from AnyRef

Inherited from Any

Ungrouped