c

epic.parser.models

TransformModelFactory

case class TransformModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = GenerativeParser.defaultAnnotator(), oldWeights: File = null, dummyFeats: Double = 0.5, commonWordThreshold: Int = 100, ngramCountThreshold: Int = 5, useNGrams: Boolean = false, maxNGramOrder: Int = 2, useGrammar: Boolean = true, rank: Int = 1, posFeaturizer: Optional[WordFeaturizer[String]] = None, spanFeaturizer: Optional[SplitSpanFeaturizer[String]] = None, extraParams: ExtraParams = ExtraParams()) 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. TransformModelFactory
  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 TransformModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = GenerativeParser.defaultAnnotator(), oldWeights: File = null, dummyFeats: Double = 0.5, commonWordThreshold: Int = 100, ngramCountThreshold: Int = 5, useNGrams: Boolean = false, maxNGramOrder: Int = 2, useGrammar: Boolean = true, rank: Int = 1, posFeaturizer: Optional[WordFeaturizer[String]] = None, spanFeaturizer: Optional[SplitSpanFeaturizer[String]] = None, extraParams: ExtraParams = ExtraParams())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. val commonWordThreshold: Int
  8. val dummyFeats: Double
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val extraParams: ExtraParams
  11. 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
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def make(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, String], constrainer: Factory[AnnotatedLabel, String]): MyModel
  15. val maxNGramOrder: Int
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val ngramCountThreshold: Int
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val oldWeights: File
  21. val posFeaturizer: Optional[WordFeaturizer[String]]
  22. val rank: Int
  23. def readWeights(in: File): Counter[Feature, Double]
  24. val spanFeaturizer: Optional[SplitSpanFeaturizer[String]]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. val useGrammar: Boolean
  27. val useNGrams: Boolean
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ParserModelFactory[AnnotatedLabel, String]

Inherited from AnyRef

Inherited from Any

Ungrouped