package constraints
- Alphabetic
- Public
- All
Type Members
-
class
CachedChartConstraintsFactory
[L, W] extends Factory[L, W] with Serializable
A CoreGrammar that relies on a file cache, which stores a Map[IndexedSeq[W], CoreAnchoring] and a backoff grammar.
A CoreGrammar that relies on a file cache, which stores a Map[IndexedSeq[W], CoreAnchoring] and a backoff grammar. Currently, only epic.parser.projections.PrecacheConstraints creates these.
- Annotations
- @SerialVersionUID()
-
class
CachedLabeledSpanConstraintsFactory
[L, W] extends Factory[L, W]
A cached version of epic.constraints.LabeledSpanConstraints.Factory.
A cached version of epic.constraints.LabeledSpanConstraints.Factory. Uses the epic.util.CacheBroker infrastructure
- Annotations
- @SerialVersionUID()
-
class
CachedSpanConstraintsFactory
[W] extends Factory[W]
A cached version of epic.constraints.SpanConstraints.Factory.
A cached version of epic.constraints.SpanConstraints.Factory. Uses the epic.util.CacheBroker infrastructure
- Annotations
- @SerialVersionUID()
-
case class
ChartConstraints
[L](top: LabeledSpanConstraints[L], bot: LabeledSpanConstraints[L]) extends SpanConstraints with Serializable with Product
Has constraints relevant to building an epic.parser.RefinedParseChart, which is to say epic.constraints.LabeledSpanConstraints for top and bot cells.
Has constraints relevant to building an epic.parser.RefinedParseChart, which is to say epic.constraints.LabeledSpanConstraints for top and bot cells.
- top
constraints for the top symbols of the parsechart
- bot
constraints for the bottom symbols of the parsechart
- Annotations
- @SerialVersionUID()
-
sealed
trait
LabeledSpanConstraints
[-L] extends SpanConstraints
Tells us wehther a given (labeled) span is allowed in a given sentence.
Tells us wehther a given (labeled) span is allowed in a given sentence. Can be calculated either using rules/heuristics or via some kind of ML algorithm. We use a combination in Epic.
- trait SpanConstraints extends AnyRef
- trait TagConstraints [L] extends AnyRef
Value Members
- object ChartConstraints extends Serializable
- object LabeledSpanConstraints
- object LongSpanConstraints
- object SpanConstraints
- object TagConstraints