epic.parser.models

SpanModelFactory

case class SpanModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = ..., 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, useFullShape: Boolean = false, useSplitShape: Boolean = false, posFeaturizer: Optional[WordFeaturizer[String]] = epic.util.NotProvided, spanFeaturizer: Optional[SplitSpanFeaturizer[String]] = epic.util.NotProvided, extraParams: ExtraParams = ...) extends ParserModelFactory[AnnotatedLabel, String] with SafeLogging with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, SafeLogging, ParserModelFactory[AnnotatedLabel, String], ParserExtractableModelFactory[AnnotatedLabel, String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpanModelFactory
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SafeLogging
  7. ParserModelFactory
  8. ParserExtractableModelFactory
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpanModelFactory(annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel] = ..., 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, useFullShape: Boolean = false, useSplitShape: Boolean = false, posFeaturizer: Optional[WordFeaturizer[String]] = epic.util.NotProvided, spanFeaturizer: Optional[SplitSpanFeaturizer[String]] = epic.util.NotProvided, extraParams: ExtraParams = ...)

Type Members

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val annotator: TreeAnnotator[AnnotatedLabel, String, AnnotatedLabel]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

  10. val dummyFeats: Double

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

    Definition Classes
    AnyRef
  12. val extraParams: ExtraParams

  13. 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
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def logger: Logger

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

  19. val maxNGramOrder: Int

  20. val minFeatCount: Int

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. val ngramCountThreshold: Int

  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val numSpanContextWords: Int

  26. val oldWeights: File

  27. val posFeaturizer: Optional[WordFeaturizer[String]]

  28. val pruneRedundantFeatures: Boolean

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

  30. val spanFeaturizer: Optional[SplitSpanFeaturizer[String]]

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

    Definition Classes
    AnyRef
  32. val useFullShape: Boolean

  33. val useGrammar: Boolean

  34. val useNGrams: Boolean

  35. val useRichSpanContext: Boolean

  36. val useShape: Boolean

  37. val useSplitShape: Boolean

  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SafeLogging

Inherited from ParserModelFactory[AnnotatedLabel, String]

Inherited from AnyRef

Inherited from Any

Ungrouped