Defines the different kinds of gender detection strategies that are possible
We need to overwrite toString in order to provide serialization during the Spark map and reduce steps and then the fromString function provides deserialization back to the GenderDetectStrategy class for the companion transformer
Defines the different kinds of gender detection strategies that are possible
We need to overwrite
toString
in order to provide serialization during the Spark map and reduce steps and then thefromString
function provides deserialization back to theGenderDetectStrategy
class for the companion transformer