Trait

com.johnsnowlabs.nlp.annotators.deid

DeIdentificationParams

Related Doc: package deid

Permalink

trait DeIdentificationParams extends Params

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
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

    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. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val consistentObfuscation: BooleanParam

    Permalink

    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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  10. val dateFormats: StringArrayParam

    Permalink

    Format of dates to displace

  11. val dateTag: Param[String]

    Permalink

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

  12. val dateToYear: BooleanParam

    Permalink

    true if dates must be converted to years, false otherwise

  13. val days: IntParam

    Permalink

    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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  21. def finalize(): Unit

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

    Permalink
    Definition Classes
    Params
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  25. final def getOrDefault[T](param: Param[T]): T

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

    Permalink
    Definition Classes
    Params
  27. final def hasDefault[T](param: Param[T]): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  33. val minYear: IntParam

    Permalink

    Minimum year to use when converting date to year

  34. val mode: Param[String]

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. val obfuscateDate: BooleanParam

    Permalink

    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)

  39. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  40. val sameEntityThreshold: DoubleParam

    Permalink

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

  41. final def set(paramPair: ParamPair[_]): DeIdentificationParams.this.type

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

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

    Permalink
    Definition Classes
    Params
  44. def setConsistentObfuscation(s: Boolean): DeIdentificationParams.this.type

    Permalink
  45. def setDateFormats(s: Array[String]): DeIdentificationParams.this.type

    Permalink
  46. def setDateTag(s: String): DeIdentificationParams.this.type

    Permalink
  47. def setDateToYear(s: Boolean): DeIdentificationParams.this.type

    Permalink
  48. def setDays(k: Int): DeIdentificationParams.this.type

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  51. def setMinYear(s: Int): DeIdentificationParams.this.type

    Permalink
  52. def setMode(m: String): DeIdentificationParams.this.type

    Permalink
  53. def setObfuscateDate(s: Boolean): DeIdentificationParams.this.type

    Permalink
  54. def setSameEntityThreshold(s: Double): DeIdentificationParams.this.type

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

    Permalink
    Definition Classes
    AnyRef
  56. def toString(): String

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. 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