t

com.johnsnowlabs.nlp.annotators.deid

DeIdentificationParams

trait DeIdentificationParams extends Params

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeIdentificationParams
  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. final def clear(param: Param[_]): DeIdentificationParams.this.type
    Definition Classes
    Params
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val consistentObfuscation: BooleanParam

    Whether to replace very similar entities in a document with the same randomized term (default: true)

  9. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  10. val dateFormats: StringArrayParam

    Format of dates to displace

  11. val dateTag: Param[String]

    Tag representing dates in the obfuscate reference file (default: DATE)

  12. val dateToYear: BooleanParam

    true if dates must be converted to years, false otherwise

  13. val days: IntParam

    Number of days to obfuscate the dates by displacement.

    Number of days to obfuscate the dates by displacement. If not provided a random integer between 1 and 60 will be used

  14. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  18. def explainParams(): String
    Definition Classes
    Params
  19. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  20. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  25. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  26. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  27. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  28. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. val ignoreRegex: BooleanParam
  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. val minYear: IntParam

    Minimum year to use when converting date to year

  35. val mode: Param[String]

    Mode for Anonymizer ['mask'|'obfuscate']

  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. val obfuscateDate: BooleanParam

    When mode=="obfuscate" whether to obfuscate dates or not.

    When mode=="obfuscate" whether to obfuscate dates or not. This param helps in consistency to make dateFormats more visible. When setting to true, make sure dateFormats param fits the needs (default: false)

  40. val obfuscateRefSource: Param[String]
  41. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  42. val regexOverride: BooleanParam
  43. val sameEntityThreshold: DoubleParam

    Similarity threshold [0.0-1.0] to consider two appearances of an entity as the same (default: 0.9)

  44. val seed: IntParam
  45. final def set(paramPair: ParamPair[_]): DeIdentificationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  46. final def set(param: String, value: Any): DeIdentificationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  47. final def set[T](param: Param[T], value: T): DeIdentificationParams.this.type
    Definition Classes
    Params
  48. def setConsistentObfuscation(s: Boolean): DeIdentificationParams.this.type
  49. def setDateFormats(s: Array[String]): DeIdentificationParams.this.type
  50. def setDateTag(s: String): DeIdentificationParams.this.type
  51. def setDateToYear(s: Boolean): DeIdentificationParams.this.type
  52. def setDays(k: Int): DeIdentificationParams.this.type
  53. final def setDefault(paramPairs: ParamPair[_]*): DeIdentificationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  54. final def setDefault[T](param: Param[T], value: T): DeIdentificationParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  55. def setIgnoreRegex(s: Boolean): DeIdentificationParams.this.type
  56. def setMinYear(s: Int): DeIdentificationParams.this.type
  57. def setMode(m: String): DeIdentificationParams.this.type
  58. def setObfuscateDate(s: Boolean): DeIdentificationParams.this.type
  59. def setObfuscateRefSource(s: String): DeIdentificationParams.this.type
  60. def setRegexOverride(s: Boolean): DeIdentificationParams.this.type
  61. def setSameEntityThreshold(s: Double): DeIdentificationParams.this.type
  62. def setSeed(s: Int): DeIdentificationParams.this.type
  63. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  64. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. 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

Ungrouped