sparknlp.internal.annotator_transformer#

Contains the base classes for Annotators based on the Spark Transformer.

Module Contents#

Classes#

AnnotatorTransformer

Base class for :py:class:`Transformer`s that wrap Java/Scala

class AnnotatorTransformer(classname)[source]#

Base class for :py:class:`Transformer`s that wrap Java/Scala implementations. Subclasses should ensure they have the transformer Java object available as _java_obj.