Class

epic.parser.models.PositionalNeuralModel

PositionalNeuralGrammar

Related Doc: package PositionalNeuralModel

Permalink

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])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(refined: Grammar[L, W]): Grammar[L, W]

    Permalink
    Definition Classes
    Grammar
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val BinaryLayerIdx: Int

    Permalink
  6. val SpanLayerIdx: Int

    Permalink
  7. val UnaryLayerIdx: Int

    Permalink
  8. def anchor(w: IndexedSeq[W], cons: ChartConstraints[L]): GrammarAnchoring[L, W]

    Permalink
    Definition Classes
    PositionalNeuralGrammarGrammar
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val dcBinaryFeatOffset: Int

    Permalink
  12. val dcSpanFeatOffset: Int

    Permalink
  13. val dcUnaryFeatOffset: Int

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def extractEcounts(m: ParseMarginal[L, W], deriv: DenseVector[Double], scale: Double): Unit

    Permalink

    N.B.

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

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def index: Index[Rule[L]]

    Permalink
    Definition Classes
    Grammar
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def labelEncoder: Encoder[L]

    Permalink
    Definition Classes
    Grammar
  23. def labelIndex: Index[L]

    Permalink
    Definition Classes
    Grammar
  24. val layers: IndexedSeq[OutputLayer]

    Permalink
  25. val lexicon: Lexicon[L, W]

    Permalink
    Definition Classes
    PositionalNeuralGrammarGrammar
  26. val maybeSparseSurfaceFeaturizer: Option[IndexedSpanFeaturizer[L, L2, W]]

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. val origPTModel: PositionalNeuralModel[L, L2, W]

    Permalink
  31. val refinedTopology: RuleTopology[L2]

    Permalink
  32. val refinements: GrammarRefinements[L, L2]

    Permalink
  33. def root: L

    Permalink
    Definition Classes
    Grammar
  34. val surfaceFeaturizer: Word2VecSurfaceFeaturizerIndexed[W]

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. val topology: RuleTopology[L]

    Permalink
    Definition Classes
    PositionalNeuralGrammarGrammar
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. val weights: DenseVector[Double]

    Permalink
  42. def withPermissiveLexicon: Grammar[L, W]

    Permalink
    Definition Classes
    PositionalNeuralGrammarGrammar

Inherited from Grammar[L, W]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped