case class PositionalNeuralModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = GenerativeParser.defaultAnnotator(), dummyFeats: Double = 0.5, commonWordThreshold: Int = 100, useSparseFeatures: Boolean = true, nonLinType: String = "relu", backpropIntoEmbeddings: Boolean = false, dropoutRate: Double = 0.0, numHidden: Int = 200, numHiddenLayers: Int = 1, neuralSurfaceWordsToUse: String = "most", word2vecPath: String = "", vocFile: String = "", lowercasedVectors: Boolean = false, extraPNMParams: ExtraPNMParams = ExtraPNMParams(), extraPNMSparseParams: ExtraPNMSparseParams = ExtraPNMSparseParams()) extends ParserModelFactory[AnnotatedLabel, String] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PositionalNeuralModelFactory
- Serializable
- Serializable
- Product
- Equals
- ParserModelFactory
- ParserExtractableModelFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PositionalNeuralModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = GenerativeParser.defaultAnnotator(), dummyFeats: Double = 0.5, commonWordThreshold: Int = 100, useSparseFeatures: Boolean = true, nonLinType: String = "relu", backpropIntoEmbeddings: Boolean = false, dropoutRate: Double = 0.0, numHidden: Int = 200, numHiddenLayers: Int = 1, neuralSurfaceWordsToUse: String = "most", word2vecPath: String = "", vocFile: String = "", lowercasedVectors: Boolean = false, extraPNMParams: ExtraPNMParams = ExtraPNMParams(), extraPNMSparseParams: ExtraPNMSparseParams = ExtraPNMSparseParams())
Type Members
-
type
MyModel = PositionalNeuralModel[AnnotatedLabel, AnnotatedLabel, String]
- Definition Classes
- PositionalNeuralModelFactory → ParserModelFactory → ParserExtractableModelFactory
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backpropIntoEmbeddings: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val commonWordThreshold: Int
- val dropoutRate: Double
- val dummyFeats: Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extraPNMParams: ExtraPNMParams
- val extraPNMSparseParams: ExtraPNMSparseParams
-
def
extractBasicCounts[L, W](trees: IndexedSeq[TreeInstance[L, W]]): (Counter2[L, W, Double], Counter2[L, BinaryRule[L], Double], Counter2[L, UnaryRule[L], Double])
- Attributes
- protected
- Definition Classes
- ParserExtractableModelFactory
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lowercasedVectors: Boolean
-
def
make(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, String], constrainer: Factory[AnnotatedLabel, String]): MyModel
- Definition Classes
- PositionalNeuralModelFactory → ParserExtractableModelFactory
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val neuralSurfaceWordsToUse: String
- val nonLinType: String
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val numHidden: Int
- val numHiddenLayers: Int
-
def
readWeights(in: File): Counter[Feature, Double]
- Definition Classes
- ParserExtractableModelFactory
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val useSparseFeatures: Boolean
- val vocFile: String
-
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 word2vecPath: String