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 SerializableLogging 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
Product, Equals, SerializableLogging, Serializable, Serializable, ParseMarginal[L, W], VisitableMarginal[AnchoredVisitor[L]], Marginal, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RefinedChartMarginal
  2. Product
  3. Equals
  4. SerializableLogging
  5. Serializable
  6. Serializable
  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
    @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. val inside: RefinedParseChart[L]

    Permalink

    inside chart

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

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

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

    Permalink
    Definition Classes
    Any
  20. val isMaxMarginal: Boolean

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

    Permalink
    Definition Classes
    ParseMarginal
  22. def length: Int

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

    Permalink
    Definition Classes
    ParseMarginal
  24. 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
  25. def logger: LazyLogger

    Permalink
    Attributes
    protected
    Definition Classes
    SerializableLogging
  26. def marginalAt(begin: Int, end: Int): Counter2[L, Int, Double]

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. val outside: RefinedParseChart[L]

    Permalink

    outside chart

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

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

    Permalink
    Definition Classes
    ParseMarginal
  33. 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
  34. 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
  35. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(): Unit

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

    Permalink
    Definition Classes
    ParseMarginal

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from ParseMarginal[L, W]

Inherited from VisitableMarginal[AnchoredVisitor[L]]

Inherited from Marginal

Inherited from AnyRef

Inherited from Any

Ungrouped