t

com.johnsnowlabs.nlp.annotators.deid

NameChunkObfuscatorParams

trait NameChunkObfuscatorParams extends Params

A trait that contains all the params that are common between NameChunkObfuscatorApproach and NameChunkObfuscator annotators

Attributes
protected
See also

NameChunkObfuscatorApproach

NameChunkObfuscator

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. NameChunkObfuscatorParams
  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[_]): NameChunkObfuscatorParams.this.type
    Definition Classes
    Params
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  9. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  13. def explainParams(): String
    Definition Classes
    Params
  14. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  15. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. val genderAwareness: BooleanParam

    Whether to use gender-aware names or not during obfuscation.

    Whether to use gender-aware names or not during obfuscation. This param effects only names. If value is true, it might decrease performance. Default: False

  18. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  21. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  22. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  23. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  24. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  29. val language: Param[String]

    The language used to select some faker names The values are the following: 'en'(English), 'de'(German), 'es'(Spanish), 'fr'(French), 'ar'(Arabic) or 'ro'(Romanian).

    The language used to select some faker names The values are the following: 'en'(English), 'de'(German), 'es'(Spanish), 'fr'(French), 'ar'(Arabic) or 'ro'(Romanian). Default:'en'

  30. val nameEntities: StringArrayParam

    The nameEntities used to select entities during obfuscation.

    The nameEntities used to select entities during obfuscation. The supported name entities are NAME, PATIENT, and DOCTOR. Default: NAME

  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. val obfuscateRefSource: Param[String]

    The source of obfuscation to obfuscate the names.

    The source of obfuscation to obfuscate the names. The values are the following: "file": Takes the names from the obfuscatorRefFile. "faker": Takes the names from the Faker module. "both": Takes the names from the obfuscatorRefFile and the faker module randomly. Default: "both"

  35. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  36. val sameLength: BooleanParam

    The sameLength used to select the same length names as original ones during obfuscation.

    The sameLength used to select the same length names as original ones during obfuscation. Example: 'John' --> 'Mike'. Default: true

  37. val seed: IntParam

    It is the seed to select the names.With the seed you can reply an execution several times with the same output.

  38. final def set(paramPair: ParamPair[_]): NameChunkObfuscatorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  39. final def set(param: String, value: Any): NameChunkObfuscatorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  40. final def set[T](param: Param[T], value: T): NameChunkObfuscatorParams.this.type
    Definition Classes
    Params
  41. final def setDefault(paramPairs: ParamPair[_]*): NameChunkObfuscatorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  42. final def setDefault[T](param: Param[T], value: T): NameChunkObfuscatorParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  43. def setGenderAwareness(value: Boolean): NameChunkObfuscatorParams.this.type

    Whether to use gender-aware names or not during obfuscation.

    Whether to use gender-aware names or not during obfuscation. This param effects only names. If value is true, it might decrease performance. Default: False

  44. def setLanguage(s: String): NameChunkObfuscatorParams.this.type

    The language used to select some faker names.

    The language used to select some faker names. The values are the following: 'en'(English), 'de'(German), 'es'(Spanish), 'fr'(French), 'ar'(Arabic) or 'ro'(Romanian). Default:'en'

  45. def setNameEntities(value: Array[String]): NameChunkObfuscatorParams.this.type

    The nameEntities used to select entities during obfuscation.

    The nameEntities used to select entities during obfuscation. The supported name entities are NAME, PATIENT, and DOCTOR. Default: NAME

  46. def setObfuscateRefSource(s: String): NameChunkObfuscatorParams.this.type

    The source of obfuscation to obfuscate the names.

    The source of obfuscation to obfuscate the names. The values are the following: "file": Takes the names from the obfuscatorRefFile. "faker": Takes the names from the Faker module. "both": Takes the names from the obfuscatorRefFile and the faker module randomly. Default: "both"

  47. def setSameLength(value: Boolean): NameChunkObfuscatorParams.this.type

    The sameLength used to select the same length names as original ones during obfuscation.

    The sameLength used to select the same length names as original ones during obfuscation. Example: 'John' --> 'Mike'. Default: true

  48. def setSeed(s: Int): NameChunkObfuscatorParams.this.type

    It is the seed to select the names.With the seed you can reply an execution several times with the same output.

  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. 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

Parameters

Parameter setters

Ungrouped