class_docstr: Instantiated model of the DocumentSimilarityRankerApproach. For usage and examples see the
  documentation of the main class.
  
  ======================= ===========================
  Input Annotation types  Output Annotation type
  ======================= ===========================
  ``SENTENCE_EMBEDDINGS`` ``DOC_SIMILARITY_RANKINGS``
  ======================= ===========================
  
  Parameters
  ----------
  extractNearestNeighbor
      Whether to extract the nearest neighbor document
class_docstr_tok: ["Instantiated","model","of","the","DocumentSimilarityRankerApproach",".","For","usage","and","examples","see","the","documentation","of","the","main","class",".","=======================","===========================","Input","Annotation","types","Output","Annotation","type","=======================","===========================","``","SENTENCE_EMBEDDINGS","``","``","DOC_SIMILARITY_RANKINGS","``","=======================","===========================","Parameters","--","--","--","--","--","extractNearestNeighbor","Whether","to","extract","the","nearest","neighbor","document"]
docstr: Sets names of finished output columns.
  
  Parameters
  ----------
  *value : List[str]
      Input columns for the annotator
docstr_tok: ["Sets","names","of","finished","output","columns",".","Parameters","--","--","--","--","--","*","value",":","List","[","str","]","Input","columns","for","the","annotator"]
code: def setOutputCols(self, *value):
      """Sets names of finished output columns.
  
      Parameters
      ----------
      *value : List[str]
          Input columns for the annotator
      """
  
      if len(value) == 1 and type(value[0]) == list:
          return self._set(outputCols=value[0])
      else:
          return self._set(outputCols=list(value))
  
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 4 for calling the DocumentSimilarityRankerFinisher obj's underlying member method code with example usage: obj.setOutputCols() and returns: self, self