class PositionalNeuralGrammar[L, L2, W] extends Grammar[L, W] with Serializable
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PositionalNeuralGrammar
- Grammar
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*(refined: Grammar[L, W]): Grammar[L, W]
- Definition Classes
- Grammar
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val BinaryLayerIdx: Int
- val SpanLayerIdx: Int
- val UnaryLayerIdx: Int
-
def
anchor(w: IndexedSeq[W], cons: ChartConstraints[L]): GrammarAnchoring[L, W]
- Definition Classes
- PositionalNeuralGrammar → Grammar
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val dcBinaryFeatOffset: Int
- val dcSpanFeatOffset: Int
- val dcUnaryFeatOffset: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
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
hashCode(): Int
- 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
-
def
labelIndex: Index[L]
- Definition Classes
- Grammar
- val layers: IndexedSeq[OutputLayer]
-
val
lexicon: Lexicon[L, W]
- Definition Classes
- PositionalNeuralGrammar → Grammar
- val maybeSparseSurfaceFeaturizer: Option[IndexedSpanFeaturizer[L, L2, 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 origPTModel: PositionalNeuralModel[L, L2, W]
- val refinedTopology: RuleTopology[L2]
- val refinements: GrammarRefinements[L, L2]
-
def
root: L
- Definition Classes
- Grammar
- val surfaceFeaturizer: Word2VecSurfaceFeaturizerIndexed[W]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
topology: RuleTopology[L]
- Definition Classes
- PositionalNeuralGrammar → Grammar
-
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, W]
- Definition Classes
- PositionalNeuralGrammar → Grammar