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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Grammar[L, W]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped