case class StructuredDeid(conllFilePath: String, regexPatternsFilePath: String, obfuscateRefFilePath: String) extends Product with Serializable
Utility class that helps to create a pipeline to obfuscate tabular data.
- conllFilePath
File used to train the Deidentification.
- regexPatternsFilePath
The regex file used to deidentificate the tabular data.
- obfuscateRefFilePath
The fule used with the terms used to obfuscate the data.
- Alphabetic
- By Inheritance
- StructuredDeid
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
StructuredDeid(conllFilePath: String, regexPatternsFilePath: String, obfuscateRefFilePath: String)
- conllFilePath
File used to train the Deidentification.
- regexPatternsFilePath
The regex file used to deidentificate the tabular data.
- obfuscateRefFilePath
The fule used with the terms used to obfuscate the data.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clinicalSensitiveEntities: NerDLModel
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val conllFilePath: String
- val deidentificationRules: DeIdentificationModel
- val documentAssembler: DocumentAssembler
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val finisher: Finisher
- val finisherObfuscate: Finisher
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isAgeColumn(columnName: String): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isZipColumn(columnName: String): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nerConverter: NerConverter
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val obfuscateRefFilePath: String
- def obfuscateZipCodes(zipCode: String): String
- val pipeline: Pipeline
- val pipelineObfuscate: Pipeline
- val regexPatternsFilePath: String
-
def
removeColumnsWithPersonalInformation(mode: String, dbTableDataFrame: DataFrame, threshold: Float, selColsStr: String = ""): DataFrame
- mode
|remove|replace|obfuscate remove: Remove the column if is PHI. replace: Replace the values of the column with name of the column. obfuscate: Obfuscate the column with the proper information.
- dbTableDataFrame
Dataframe that you want to obfuscate.
- threshold
The threshold used to infer if the column is a PHI column or not.
- selColsStr
Columns names of the dataframe to apply the PHI. The names of the columns are split by the ',' character.
- val sentenceDetector: SentenceDetector
- val spark: SparkSession
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tokenizer: Tokenizer
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val wordEmbeddings: WordEmbeddingsModel