Packages

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
Product, Equals, parser.Grammar[L, W], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Grammar
  2. Product
  3. Equals
  4. Grammar
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. class Anchoring extends ProjectionsGrammarAnchoring[L, L2, W]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(refined: parser.Grammar[L, W]): parser.Grammar[L, W]
    Definition Classes
    Grammar
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def anchor(w: IndexedSeq[W], cons: ChartConstraints[L]): Anchoring
    Definition Classes
    GrammarGrammar
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def extractEcounts(m: ParseMarginal[L, W], deriv: DenseVector[Double], scale: Double): Unit
  10. val featureIndex: SegmentedIndex[Feature, Index]
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def index: Index[Rule[L]]
    Definition Classes
    Grammar
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def labelEncoder: Encoder[L]
    Definition Classes
    Grammar
  16. val labelFeaturizer: RefinedFeaturizer[L, W, Feature]
  17. def labelIndex: Index[L]
    Definition Classes
    Grammar
  18. val lexicon: Lexicon[L, W]
    Definition Classes
    GrammarGrammar
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. val refinedTopology: RuleTopology[L2]
  23. val refinements: GrammarRefinements[L, L2]
  24. def root: L
    Definition Classes
    Grammar
  25. val ruleMatrix: DenseMatrix[Double]
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. val topology: RuleTopology[L]
    Definition Classes
    GrammarGrammar
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. val weights: DenseVector[Double]
  32. def withPermissiveLexicon: Grammar[L, L2, W]
    Definition Classes
    GrammarGrammar
  33. val wordFeaturizer: IndexedWordFeaturizer[W]
  34. val wordMatrices: Seq[DenseMatrix[Double]]

Inherited from Product

Inherited from Equals

Inherited from parser.Grammar[L, W]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped