sparknlp.common.annotator_model#

Contains the base classes for Annotator Models.

Module Contents#

Classes#

AnnotatorModel

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

class AnnotatorModel(classname, java_model=None)[source]#

Base class for :py:class:`Model`s that wrap Java/Scala implementations. Subclasses should inherit this class before param mix-ins, because this sets the UID from the Java model.