Package

com.johnsnowlabs.nlp.annotators

deid

Permalink

package deid

Visibility
  1. Public
  2. All

Type Members

  1. class DeIdentification extends AnnotatorApproach[DeIdentificationModel] with DeIdentificationParams with Licensed

    Permalink

    Trains a DeIdentification Annotator which provides functionality to either mask or obfuscate PHI based on Input Annotations of types DOCUMENT, TOKEN and CHUNK.

    Trains a DeIdentification Annotator which provides functionality to either mask or obfuscate PHI based on Input Annotations of types DOCUMENT, TOKEN and CHUNK.

    Ideally this annotator works in conjunction with Demographic Named EntityRecognizers that can be trained either using TextMatchers, RegexMatchers, DateMatchers, NerCRFs or NerDLs

  2. class DeIdentificationModel extends AnnotatorModel[DeIdentificationModel] with DeIdentificationParams with Licensed

    Permalink

    Contains all the parameters to transform a dataset with three Input Annotations of types DOCUMENT, TOKEN and CHUNK, into its DeIdentified version of by either masking or obfuscating the given CHUNKS

  3. trait DeIdentificationParams extends Params

    Permalink
  4. class ObfuscatorAnnotatorApproach extends AnnotatorApproach[ObfuscatorAnnotatorModel] with ObfuscatorParams

    Permalink
  5. class ObfuscatorAnnotatorModel extends AnnotatorModel[ObfuscatorAnnotatorModel] with ObfuscatorParams

    Permalink
  6. trait ObfuscatorParams extends Params

    Permalink
  7. trait ReadablePretrainedDeId extends ParamsAndFeaturesReadable[DeIdentificationModel] with HasPretrained[DeIdentificationModel]

    Permalink
  8. case class SentenceMaxException(message: String = "", cause: Throwable = None.orNull) extends Exception with Product with Serializable

    Permalink
  9. case class StructuredDeid(conllFilePath: String, regexPatternsFilePath: String, obfuscateRefFilePath: String) extends Product with Serializable

    Permalink
  10. case class StructuredDeidentification(columnsMap: Map[String, String], obfuscateRefFile: String = "", obfuscateRefSource: String = "both") extends Product with Serializable

    Permalink
  11. case class TextToDocumentColumns(columns: List[String]) extends Product with Serializable

    Permalink

Value Members

  1. object DeIdentification extends DefaultParamsReadable[DeIdentification] with Serializable

    Permalink
  2. object DeIdentificationModel extends ReadablePretrainedDeId with Serializable

    Permalink
  3. object DefaultRegex

    Permalink
  4. object Obfuscator

    Permalink
  5. object ObfuscatorAnnotatorApproach extends DefaultParamsReadable[ObfuscatorAnnotatorApproach] with Serializable

    Permalink
  6. object ObfuscatorParams extends DefaultParamsReadable[DeIdentification] with Serializable

    Permalink
  7. package faker

    Permalink

Ungrouped