epic.parser

RefinedChartMarginal

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

Instance Constructors

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

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

    the specialized grammar used to construct the marginals for this sentence

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

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

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

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

  11. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    RefinedChartMarginalParseMarginal
  17. def finalize(): Unit

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

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

    inside chart

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

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

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

    Definition Classes
    Any
  23. val isMaxMarginal: Boolean

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

    Definition Classes
    ParseMarginal
  25. def length: Int

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

    Definition Classes
    ParseMarginal
  27. val logPartition: Double

    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
  28. def logger: Logger

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

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

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

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

    Definition Classes
    AnyRef
  33. val outside: RefinedParseChart[L]

    outside chart

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

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

    Definition Classes
    ParseMarginal
  36. 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
  37. def visitPostorder(spanVisitor: AnchoredVisitor[L], spanThreshold: Double = Double.NegativeInfinity): Unit

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

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

    spanVisitor
    Definition Classes
    RefinedChartMarginalParseMarginal
  38. final def wait(): Unit

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

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

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

    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