code: def __init__(
      self,
      classname="com.johnsnowlabs.nlp.annotators.similarity.DocumentSimilarityRankerModel",
      java_model=None,
  ):
      super(DocumentSimilarityRankerModel, self).__init__(
          classname=classname, java_model=java_model
      )
  
imports: from sparknlp.common import *
  from pyspark import keyword_only
  from pyspark.ml.param import TypeConverters, Params, Param
  from sparknlp.internal import AnnotatorTransformer
label_desc: Use image node_id 1 to create a new DocumentSimilarityRankerModel object from inherited base classes: AnnotatorModel, HasEmbeddingsProperties with example: obj = DocumentSimilarityRankerModel(classname, java_model)