case class Inference[L, L2, W](annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[IndexedSeq[L2]], constrainer: Factory[L, W], grammar: PositionalNeuralGrammar[L, L2, W], refinements: GrammarRefinements[L, L2]) extends ParserInference[L, W] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Inference
- Product
- Equals
- ParserInference
- ProjectableInference
- AugmentableInference
- Inference
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Inference(annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[IndexedSeq[L2]], constrainer: Factory[L, W], grammar: PositionalNeuralGrammar[L, L2, W], refinements: GrammarRefinements[L, L2])
Type Members
-
type
ExpectedCounts = StandardExpectedCounts[Feature]
- Definition Classes
- ParserInference
-
type
Marginal = ParseMarginal[L, W]
- Definition Classes
- ParserInference → Inference
-
type
Scorer = GrammarAnchoring[L, W]
- Definition Classes
- ParserInference → Inference
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val annotator: (BinarizedTree[L], IndexedSeq[W]) ⇒ BinarizedTree[IndexedSeq[L2]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
baseAugment(v: TreeInstance[L, W]): UnrefinedGrammarAnchoring[L, W]
The "no prior information" augment.
The "no prior information" augment. Used if nothing is passed in.
- Definition Classes
- ParserInference → AugmentableInference
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
constrainer: Factory[L, W]
- Definition Classes
- Inference → ParserInference
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forTesting: PositionalNeuralModel.Inference
- Definition Classes
- Inference → ParserInference → ProjectableInference → AugmentableInference → Inference
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
goldMarginal(scorer: Scorer, ti: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[L, W]): Marginal
- Definition Classes
- Inference → AugmentableInference
-
def
goldMarginal(scorer: Scorer, v: TreeInstance[L, W]): Marginal
Produces the "gold marginal" which is the marginal conditioned on the output label/structure itself.
Produces the "gold marginal" which is the marginal conditioned on the output label/structure itself.
- v
the example
- returns
gold marginal
- Definition Classes
- AugmentableInference → Inference
-
val
grammar: PositionalNeuralGrammar[L, L2, W]
- Definition Classes
- Inference → ParserInference
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
marginal(scorer: Scorer, v: TreeInstance[L, W], aug: UnrefinedGrammarAnchoring[L, W]): Marginal
Produces the "guess marginal" which is the marginal conditioned on only the input data
Produces the "guess marginal" which is the marginal conditioned on only the input data
- v
the example
- returns
gold marginal
- Definition Classes
- ParserInference → AugmentableInference
-
def
marginal(scorer: Scorer, v: TreeInstance[L, W]): Marginal
Produces the "guess marginal" which is the marginal conditioned on only the input data
Produces the "guess marginal" which is the marginal conditioned on only the input data
- v
the example
- returns
gold marginal
- Definition Classes
- AugmentableInference → Inference
-
def
marginal(v: TreeInstance[L, W]): Marginal
- Definition Classes
- Inference
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
project(v: TreeInstance[L, W], s: Scorer, m: Marginal, oldAugment: UnrefinedGrammarAnchoring[L, W]): UnrefinedGrammarAnchoring[L, W]
- Definition Classes
- ParserInference → ProjectableInference
-
def
projector: EPProjector[L, W]
- Attributes
- protected
- Definition Classes
- ParserInference
- val refinements: GrammarRefinements[L, L2]
- def relativizeToData(data: GenTraversable[TreeInstance[AnnotatedLabel, String]]): Unit
-
def
scorer(v: TreeInstance[L, W]): Scorer
- Definition Classes
- ParserInference → AugmentableInference → Inference
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )