Packages

t

com.johnsnowlabs.nlp.annotators.assertion.merger

AssertionPrioritizationParams

trait AssertionPrioritizationParams extends Params

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. AssertionPrioritizationParams
  2. Params
  3. Serializable
  4. Serializable
  5. Identifiable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params
    Definition Classes
    Params
  2. abstract val uid: String
    Definition Classes
    Identifiable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val assertionSourcePrecedence: Param[String]

    Specifies the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized.

    Specifies the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized. This parameter contains a comma-separated list of assertion sources that drive the prioritization. Annotations will be prioritized based on the order of the given string.

  7. final def clear(param: Param[_]): AssertionPrioritizationParams.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  10. val defaultConfidence: FloatParam

    When the confidence value is included in the orderingFeatures and a given annotation does not have any confidence, this parameter determines the value to be used.

    When the confidence value is included in the orderingFeatures and a given annotation does not have any confidence, this parameter determines the value to be used. The default value is 0f.

  11. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  15. def explainParams(): String
    Definition Classes
    Params
  16. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  17. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  20. def getAssertionSourcePrecedence: String

    Gets the value of the assertionSourcePrecedence parameter.

  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  23. def getDefaultConfidence: Float

    Gets the value of the defaultConfidence parameter.

  24. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  25. def getOrderingFeatures: Array[String]

    Gets the value of the orderingFeatures parameter.

  26. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  27. def getSelectionStrategy: String

    Gets selectionStrategy param.

  28. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  29. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. val orderingFeatures: StringArrayParam

    Specifies the ordering features to use for overlapping entities.

    Specifies the ordering features to use for overlapping entities. Possible values include: 'begin', 'end', 'length', 'source', 'confidence'. Default: Array("begin", "length", "source")

  38. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  39. def prioritize(annotations: Seq[Annotation]): Seq[Annotation]
    Attributes
    protected
  40. val selectionStrategy: Param[String]

    Determines the strategy for selecting annotations.

    Determines the strategy for selecting annotations.

    Annotations can be selected either sequentially based on their order (Sequential) or using a more diverse strategy (DiverseLonger). Currently, only Sequential and DiverseLonger options are available. The default strategy is Sequential.

  41. final def set(paramPair: ParamPair[_]): AssertionPrioritizationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  42. final def set(param: String, value: Any): AssertionPrioritizationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  43. final def set[T](param: Param[T], value: T): AssertionPrioritizationParams.this.type
    Definition Classes
    Params
  44. def setAssertionSourcePrecedence(value: String): AssertionPrioritizationParams.this.type

    Sets the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized.

    Sets the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized. This parameter contains a comma-separated list of assertion sources that drive the prioritization. Annotations will be prioritized based on the order of the given string.

  45. final def setDefault(paramPairs: ParamPair[_]*): AssertionPrioritizationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  46. final def setDefault[T](param: Param[T], value: T): AssertionPrioritizationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  47. def setDefaultConfidence(confidence: Float): AssertionPrioritizationParams.this.type

    Sets the value to be used when the confidence value is included in the orderingFeatures and a given annotation does not have any confidence.

    Sets the value to be used when the confidence value is included in the orderingFeatures and a given annotation does not have any confidence. The default value is 0f.

  48. def setOrderingFeatures(values: Array[String]): AssertionPrioritizationParams.this.type

    Sets the array of strings specifying the ordering features to use for overlapping entities.

    Sets the array of strings specifying the ordering features to use for overlapping entities. Possible values are 'begin', 'end', 'length', 'source', 'confidence'. Default: Array("begin", "length", "source")

  49. def setSelectionStrategy(strategy: String): AssertionPrioritizationParams.this.type

    Sets the strategy for selecting annotations.

    Sets the strategy for selecting annotations.

    Annotations can be selected either sequentially based on their order (Sequential) or using a different strategy (DiverseLonger). Currently, only Sequential and DiverseLonger options are available. The default strategy is Sequential.

  50. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped