case class Grammar[L, L2, W](topology: RuleTopology[L], lexicon: Lexicon[L, W], refinedTopology: RuleTopology[L2], refinements: GrammarRefinements[L, L2], labelFeaturizer: RefinedFeaturizer[L, W, Feature], wordFeaturizer: IndexedWordFeaturizer[W], featureIndex: SegmentedIndex[Feature, Index], weights: DenseVector[Double]) extends parser.Grammar[L, W] with Serializable with Product
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Grammar
- Product
- Equals
- Grammar
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Grammar(topology: RuleTopology[L], lexicon: Lexicon[L, W], refinedTopology: RuleTopology[L2], refinements: GrammarRefinements[L, L2], labelFeaturizer: RefinedFeaturizer[L, W, Feature], wordFeaturizer: IndexedWordFeaturizer[W], featureIndex: SegmentedIndex[Feature, Index], weights: DenseVector[Double])
Type Members
- class Anchoring extends ProjectionsGrammarAnchoring[L, L2, W]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*(refined: parser.Grammar[L, W]): parser.Grammar[L, W]
- Definition Classes
- Grammar
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def anchor(w: IndexedSeq[W], cons: ChartConstraints[L]): Anchoring
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def extractEcounts(m: ParseMarginal[L, W], deriv: DenseVector[Double], scale: Double): Unit
- val featureIndex: SegmentedIndex[Feature, Index]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
index: Index[Rule[L]]
- Definition Classes
- Grammar
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
labelEncoder: Encoder[L]
- Definition Classes
- Grammar
- val labelFeaturizer: RefinedFeaturizer[L, W, Feature]
-
def
labelIndex: Index[L]
- Definition Classes
- Grammar
- val lexicon: Lexicon[L, W]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val refinedTopology: RuleTopology[L2]
- val refinements: GrammarRefinements[L, L2]
-
def
root: L
- Definition Classes
- Grammar
- val ruleMatrix: DenseMatrix[Double]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val topology: RuleTopology[L]
-
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( ... )
- val weights: DenseVector[Double]
- def withPermissiveLexicon: Grammar[L, L2, W]
- val wordFeaturizer: IndexedWordFeaturizer[W]
- val wordMatrices: Seq[DenseMatrix[Double]]