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: Gets input columns name of annotations.
docstr_tok: ["Gets","input","columns","name","of","annotations","."]
code: def getInputCols(self):
      """Gets input columns name of annotations."""
      return self.getOrDefault(self.inputCols)
  
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 6 for calling the DocumentSimilarityRankerFinisher obj's underlying member method code with example usage: obj.getInputCols() and returns: self