Class/Object

epic.parser.models

SpanModelFactory

Related Docs: object SpanModelFactory | package models

Permalink

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

    Permalink

Type Members

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

    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. def clone(): AnyRef

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

    Permalink
  8. val dummyFeats: Double

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

    Permalink
    Definition Classes
    AnyRef
  10. val extraParams: ExtraParams

    Permalink
  11. 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
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  14. def logger: LazyLogger

    Permalink
    Attributes
    protected
    Definition Classes
    SerializableLogging
  15. def make(trainTrees: IndexedSeq[TreeInstance[AnnotatedLabel, String]], topology: RuleTopology[AnnotatedLabel], lexicon: Lexicon[AnnotatedLabel, String], constrainer: Factory[AnnotatedLabel, String]): MyModel

    Permalink
  16. val maxNGramOrder: Int

    Permalink
  17. val minFeatCount: Int

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

    Permalink
    Definition Classes
    AnyRef
  19. val ngramCountThreshold: Int

    Permalink
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. val numSpanContextWords: Int

    Permalink
  23. val oldWeights: File

    Permalink
  24. val posFeaturizer: Optional[WordFeaturizer[String]]

    Permalink
  25. val pruneRedundantFeatures: Boolean

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

    Permalink
  27. val spanFeaturizer: Optional[SplitSpanFeaturizer[String]]

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

    Permalink
    Definition Classes
    AnyRef
  29. val useChildFeats: Boolean

    Permalink
  30. val useFullShape: Boolean

    Permalink
  31. val useGrammar: Boolean

    Permalink
  32. val useNGrams: Boolean

    Permalink
  33. val useRichSpanContext: Boolean

    Permalink
  34. val useShape: Boolean

    Permalink
  35. val useSplitShape: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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