Packages

c

epic.parser.models.PositionalNeuralModel

PositionalNeuralGrammar

class PositionalNeuralGrammar[L, L2, W] extends Grammar[L, W] with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Grammar[L, W], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PositionalNeuralGrammar
  2. Grammar
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PositionalNeuralGrammar(topology: RuleTopology[L], lexicon: Lexicon[L, W], refinedTopology: RuleTopology[L2], refinements: GrammarRefinements[L, L2], labelFeaturizer: RefinedFeaturizer[L, W, Feature], surfaceFeaturizer: Word2VecSurfaceFeaturizerIndexed[W], depFeaturizer: Word2VecDepFeaturizerIndexed[W], layers: IndexedSeq[OutputLayer], penultimateLayers: IndexedSeq[Layer[Array[Int], DenseVector[Double]]], depLayers: IndexedSeq[OutputLayer], maybeSparseSurfaceFeaturizer: Option[IndexedSpanFeaturizer[L, L2, W]], decoupledLayers: IndexedSeq[OutputLayer], penultimateDecoupledLayers: IndexedSeq[Layer[Array[Int], DenseVector[Double]]], weights: DenseVector[Double], origPTModel: PositionalNeuralModel[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: Grammar[L, W]): Grammar[L, W]
    Definition Classes
    Grammar
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val BinaryLayerIdx: Int
  6. val SpanLayerIdx: Int
  7. val UnaryLayerIdx: Int
  8. def anchor(w: IndexedSeq[W], cons: ChartConstraints[L]): GrammarAnchoring[L, W]
    Definition Classes
    PositionalNeuralGrammarGrammar
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val dcBinaryFeatOffset: Int
  12. val dcSpanFeatOffset: Int
  13. val dcUnaryFeatOffset: Int
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def extractEcounts(m: ParseMarginal[L, W], deriv: DenseVector[Double], scale: Double): Unit

    N.B.

    N.B. does not extracted expected counts for sparse features; this is done outside this loop

  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. def index: Index[Rule[L]]
    Definition Classes
    Grammar
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def labelEncoder: Encoder[L]
    Definition Classes
    Grammar
  23. def labelIndex: Index[L]
    Definition Classes
    Grammar
  24. val layers: IndexedSeq[OutputLayer]
  25. val lexicon: Lexicon[L, W]
    Definition Classes
    PositionalNeuralGrammarGrammar
  26. val maybeSparseSurfaceFeaturizer: Option[IndexedSpanFeaturizer[L, L2, W]]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  30. val origPTModel: PositionalNeuralModel[L, L2, W]
  31. val refinedTopology: RuleTopology[L2]
  32. val refinements: GrammarRefinements[L, L2]
  33. def root: L
    Definition Classes
    Grammar
  34. val surfaceFeaturizer: Word2VecSurfaceFeaturizerIndexed[W]
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. val topology: RuleTopology[L]
    Definition Classes
    PositionalNeuralGrammarGrammar
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. val weights: DenseVector[Double]
  42. def withPermissiveLexicon: Grammar[L, W]
    Definition Classes
    PositionalNeuralGrammarGrammar

Inherited from Grammar[L, W]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped