trait DeidModelParams extends AnyRef
A trait that contains all the params that are common in DeIdentificationModel and ObfuscatorAnnotatorModel.
- Self Type
- DeidModelParams with BaseDeidParams
- See also
BaseDeidParams to see params
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeidModelParams
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
-
val
GEOGRAPHIC_ENTITIES_PRIORITY: Map[String, Int]
- Attributes
- protected
-
val
GEO_METADATA_KEY: String
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateFakeBySameLength(wordToReplace: String, entity: String): String
obfuscating digits to new digits, letters to new letters and others remains the same
-
def
generateFakeBySameLengthUsingHash(wordToReplace: String, entity: String): String
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getEntitiesBySentence(chunks: Seq[Annotation], sentenceCount: Int): Seq[Seq[Annotation]]
- Attributes
- protected
-
def
getEntityField(annotation: Annotation): String
- Attributes
- protected
-
def
getExternalFakers(entityClass: String, customFakers: Map[String, List[String]], wordToReplace: String): List[String]
- Attributes
- protected
-
def
getFakeByHashcode(fakes: Seq[String], wordToReplace: String, entity: String, seed: Int): String
- Attributes
- protected
-
def
getFakeWithSameSize(fakes: Seq[String], wordToReplace: String, entity: String, lengthDeviation: Int, seed: Int): String
- Attributes
- protected
- def getFakersEntity(entity: String, result: String): Seq[String]
-
def
getMaxSentence(annotations: Seq[Annotation]): Int
- Attributes
- protected
-
def
getShiftDaysFromSentences(sentences: Seq[Annotation]): Option[Int]
- Attributes
- protected
-
def
getStaticObfuscationFakes(entityClass: String, wordToReplace: String): Option[Seq[String]]
- Attributes
- protected
-
def
handleCasing(originalFake: String, wordToReplace: String): String
- Attributes
- protected
-
def
handleGeographicConsistency(protectedEntities: Seq[Seq[Annotation]]): Seq[Seq[Annotation]]
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEmptyString(value: String): Boolean
- Attributes
- protected
-
def
isGeoEntity(annotation: Annotation): Boolean
- Attributes
- protected
-
def
isGeoObfuscationEnabled: Boolean
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
lazy val
locale: Locale
- Attributes
- protected
-
val
nameEntities: Seq[String]
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
obfuscateNameEntity(originalName: String, keepTextSize: Boolean, lengthDeviation: Int, namePartsMemory: Map[String, String]): String
- Attributes
- protected
-
def
selectFakeFromAllFakes(wordToReplace: String, entityClass: String, maskedEntity: String, allFakes: Seq[String]): String
- Attributes
- protected
-
def
shouldUseConsistentNameParts(entityClass: String): Boolean
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()