Trait

com.johnsnowlabs.nlp.annotators.resolution.params

ResolverParams

Related Doc: package params

Permalink

trait ResolverParams extends Params

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResolverParams
  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

    Permalink
    Definition Classes
    Params
  2. abstract val uid: String

    Permalink
    Definition Classes
    Identifiable

Concrete 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 $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val allDistancesMetadata: BooleanParam

    Permalink

    whether or not to return an all distance values in the metadata.

    whether or not to return an all distance values in the metadata. Default: False

  6. val alternatives: IntParam

    Permalink

    number of results to return in the metadata after sorting by last distance calculated

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. final def clear(param: Param[_]): ResolverParams.this.type

    Permalink
    Definition Classes
    Params
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val confidenceFunction: Param[String]

    Permalink

    what function to use to calculate confidence: INVERSE or SOFTMAX

  11. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  12. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  13. val distanceFunction: Param[String]

    Permalink

    what distance function to use for KNN: 'EUCLIDEAN' or 'COSINE'

  14. val distanceWeights: DoubleArrayParam

    Permalink

    distance weights to apply before pooling: [WMD, TFIDF, Jaccard, SorensenDice, JaroWinkler, Levenshtein]

  15. val enableJaccard: BooleanParam

    Permalink

    whether or not to use Jaccard token distance.

    whether or not to use Jaccard token distance. Default: True

  16. val enableJaroWinkler: BooleanParam

    Permalink

    whether or not to use Jaro-Winkler character distance.

    whether or not to use Jaro-Winkler character distance. Default: False

  17. val enableLevenshtein: BooleanParam

    Permalink

    whether or not to use Levenshtein character distance.

    whether or not to use Levenshtein character distance. Default: False

  18. val enableSorensenDice: BooleanParam

    Permalink

    whether or not to use Sorensen-Dice token distance.

    whether or not to use Sorensen-Dice token distance. Default: False

  19. val enableTfidf: BooleanParam

    Permalink

    whether or not to use TFIDF token distance.

    whether or not to use TFIDF token distance. Default: True

  20. val enableWmd: BooleanParam

    Permalink

    whether or not to use WMD token distance.

    whether or not to use WMD token distance. Default: True

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

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  24. def explainParams(): String

    Permalink
    Definition Classes
    Params
  25. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  26. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  27. val extramassPenalty: DoubleParam

    Permalink

    penalty for extra words in the knowledge base match during WMD calculation

  28. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  30. def getAllDistancesMetadata: Boolean

    Permalink
  31. def getAlternatives: Int

    Permalink
  32. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  33. def getConfidenceFunction: String

    Permalink
  34. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  35. def getDistanceFunction: String

    Permalink
  36. def getDistanceWeights: Array[Double]

    Permalink
  37. def getEnableJaccard: Boolean

    Permalink
  38. def getEnableJaroWinkler: Boolean

    Permalink
  39. def getEnableLevenshtein: Boolean

    Permalink
  40. def getEnableSorensenDice: Boolean

    Permalink
  41. def getEnableTfidf: Boolean

    Permalink
  42. def getEnableWmd: Boolean

    Permalink
  43. def getExtramassPenalty: Double

    Permalink
  44. def getMissAsEmpty: Boolean

    Permalink
  45. def getNeighbours: Int

    Permalink
  46. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  47. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  48. def getPoolingStrategy: String

    Permalink
  49. def getThreshold: Double

    Permalink
  50. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  51. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  52. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  53. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  54. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  55. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  56. val missAsEmpty: BooleanParam

    Permalink

    whether or not to return an empty annotation on unmatched chunks

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

    Permalink
    Definition Classes
    AnyRef
  58. val neighbours: IntParam

    Permalink

    number of neighbours to consider in the KNN query to calculate WMD

  59. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  60. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  62. val poolingStrategy: Param[String]

    Permalink

    pooling strategy to aggregate distances: AVERAGE or SUM

  63. final def set(paramPair: ParamPair[_]): ResolverParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  64. final def set(param: String, value: Any): ResolverParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  65. final def set[T](param: Param[T], value: T): ResolverParams.this.type

    Permalink
    Definition Classes
    Params
  66. def setAllDistancesMetadata(v: Boolean): ResolverParams.this.type

    Permalink
  67. def setAlternatives(a: Int): ResolverParams.this.type

    Permalink
  68. def setConfidenceFunction(v: String): ResolverParams.this.type

    Permalink
  69. final def setDefault(paramPairs: ParamPair[_]*): ResolverParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  70. final def setDefault[T](param: Param[T], value: T): ResolverParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  71. def setDistanceFunction(value: String): ResolverParams.this.type

    Permalink
  72. def setDistanceWeights(v: Array[Double]): ResolverParams.this.type

    Permalink
  73. def setEnableJaccard(v: Boolean): ResolverParams.this.type

    Permalink
  74. def setEnableJaroWinkler(v: Boolean): ResolverParams.this.type

    Permalink
  75. def setEnableLevenshtein(v: Boolean): ResolverParams.this.type

    Permalink
  76. def setEnableSorensenDice(v: Boolean): ResolverParams.this.type

    Permalink
  77. def setEnableTfidf(v: Boolean): ResolverParams.this.type

    Permalink
  78. def setEnableWmd(v: Boolean): ResolverParams.this.type

    Permalink
  79. def setExtramassPenalty(emp: Double): ResolverParams.this.type

    Permalink
  80. def setMissAsEmpty(v: Boolean): ResolverParams.this.type

    Permalink
  81. def setNeighbours(k: Int): ResolverParams.this.type

    Permalink
  82. def setPoolingStrategy(value: String): ResolverParams.this.type

    Permalink
  83. def setThreshold(dist: Double): ResolverParams.this.type

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

    Permalink
    Definition Classes
    AnyRef
  85. val threshold: DoubleParam

    Permalink

    threshold value for the aggregated distance

  86. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  87. final def wait(): Unit

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

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

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

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped