Class/Object

epic.parser.models

PositionalNeuralModelFactory

Related Docs: object PositionalNeuralModelFactory | package models

Permalink

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
Serializable, Serializable, Product, Equals, ParserModelFactory[AnnotatedLabel, String], ParserExtractableModelFactory[AnnotatedLabel, String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PositionalNeuralModelFactory
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ParserModelFactory
  7. ParserExtractableModelFactory
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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())

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val backpropIntoEmbeddings: Boolean

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. val commonWordThreshold: Int

    Permalink
  9. val dropoutRate: Double

    Permalink
  10. val dummyFeats: Double

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

    Permalink
    Definition Classes
    AnyRef
  12. val extraPNMParams: ExtraPNMParams

    Permalink
  13. val extraPNMSparseParams: ExtraPNMSparseParams

    Permalink
  14. def extractBasicCounts[L, W](trees: IndexedSeq[TreeInstance[L, W]]): (Counter2[L, W, Double], Counter2[L, BinaryRule[L], Double], Counter2[L, UnaryRule[L], Double])

    Permalink
    Attributes
    protected
    Definition Classes
    ParserExtractableModelFactory
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val lowercasedVectors: Boolean

    Permalink
  18. def make(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, String], constrainer: Factory[AnnotatedLabel, String]): MyModel

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

    Permalink
    Definition Classes
    AnyRef
  20. val neuralSurfaceWordsToUse: String

    Permalink
  21. val nonLinType: String

    Permalink
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. val numHidden: Int

    Permalink
  25. val numHiddenLayers: Int

    Permalink
  26. def readWeights(in: File): Counter[Feature, Double]

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

    Permalink
    Definition Classes
    AnyRef
  28. val useSparseFeatures: Boolean

    Permalink
  29. val vocFile: String

    Permalink
  30. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. val word2vecPath: String

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ParserModelFactory[AnnotatedLabel, String]

Inherited from AnyRef

Inherited from Any

Ungrouped