case class SpanModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = GenerativeParser.defaultAnnotator(), oldWeights: File = null, dummyFeats: Double = 0.5, minFeatCount: Int = 1, pruneRedundantFeatures: Boolean = false, commonWordThreshold: Int = 100, ngramCountThreshold: Int = 5, useShape: Boolean = true, useRichSpanContext: Boolean = false, numSpanContextWords: Int = 1, useNGrams: Boolean = false, maxNGramOrder: Int = 2, useGrammar: Boolean = true, useChildFeats: Boolean = false, useFullShape: Boolean = false, useSplitShape: Boolean = false, posFeaturizer: Optional[WordFeaturizer[String]] = None, spanFeaturizer: Optional[SplitSpanFeaturizer[String]] = None, extraParams: ExtraParams = ExtraParams()) extends ParserModelFactory[AnnotatedLabel, String] with SerializableLogging with Product with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, SerializableLogging, Serializable, Serializable, ParserModelFactory[AnnotatedLabel, String], ParserExtractableModelFactory[AnnotatedLabel, String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpanModelFactory
  2. Product
  3. Equals
  4. SerializableLogging
  5. Serializable
  6. Serializable
  7. ParserModelFactory
  8. ParserExtractableModelFactory
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpanModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = GenerativeParser.defaultAnnotator(), oldWeights: File = null, dummyFeats: Double = 0.5, minFeatCount: Int = 1, pruneRedundantFeatures: Boolean = false, commonWordThreshold: Int = 100, ngramCountThreshold: Int = 5, useShape: Boolean = true, useRichSpanContext: Boolean = false, numSpanContextWords: Int = 1, useNGrams: Boolean = false, maxNGramOrder: Int = 2, useGrammar: Boolean = true, useChildFeats: Boolean = false, useFullShape: Boolean = false, useSplitShape: Boolean = false, posFeaturizer: Optional[WordFeaturizer[String]] = None, spanFeaturizer: Optional[SplitSpanFeaturizer[String]] = None, extraParams: ExtraParams = ExtraParams())

Type Members

  1. type MyModel = SpanModel[AnnotatedLabel, AnnotatedLabel, String]

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
    @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. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def logger: LazyLogger
    Attributes
    protected
    Definition Classes
    SerializableLogging
  16. def make(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, String], constrainer: Factory[AnnotatedLabel, String]): MyModel
  17. val maxNGramOrder: Int
  18. val minFeatCount: Int
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val ngramCountThreshold: Int
  21. final def notify(): Unit
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. val numSpanContextWords: Int
  24. val oldWeights: File
  25. val posFeaturizer: Optional[WordFeaturizer[String]]
  26. val pruneRedundantFeatures: Boolean
  27. def readWeights(in: File): Counter[Feature, Double]
  28. val spanFeaturizer: Optional[SplitSpanFeaturizer[String]]
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. val useChildFeats: Boolean
  31. val useFullShape: Boolean
  32. val useGrammar: Boolean
  33. val useNGrams: Boolean
  34. val useRichSpanContext: Boolean
  35. val useShape: Boolean
  36. val useSplitShape: Boolean
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from SerializableLogging

Inherited from Serializable

Inherited from Serializable

Inherited from ParserModelFactory[AnnotatedLabel, String]

Inherited from AnyRef

Inherited from Any

Ungrouped