code: def __init__(self, classname):
      super(AnnotatorTransformer, self).__init__()
      kwargs = self._input_kwargs
      if "classname" in kwargs:
          kwargs.pop("classname")
      self.setParams(**kwargs)
      self.__class__._java_class_name = classname
      self._java_obj = self._new_java_obj(classname, self.uid)
  
file_path: spark-nlp/python/sparknlp/internal/annotator_transformer.py
imports: from pyspark import keyword_only
  from pyspark.ml.util import JavaMLWritable
  from pyspark.ml.wrapper import JavaTransformer
  from sparknlp.internal.params_getters_setters import ParamsGettersSetters
  from sparknlp.internal.annotator_java_ml import AnnotatorJavaMLReadable
label_desc: Use image node_id 1 to create a new AnnotatorTransformer object from inherited base classes: JavaTransformer, AnnotatorJavaMLReadable, JavaMLWritable, ParamsGettersSetters with example: obj = AnnotatorTransformer(classname)