code: def runTest(self):
      document = (
          DocumentAssembler()
          .setInputCol("text")
          .setOutputCol("document")
      )
  
      sentence = (
          SentenceDetector()
          .setInputCols("document")
          .setOutputCol("sentence")
      )
  
      token = (
          Tokenizer()
          .setInputCols("sentence")
          .setOutputCol("token")
          .setContextChars(["(", ")", "?", "!", ".", ","])
      )
  
      keywords = (
          YakeKeywordExtraction()
          .setInputCols("token")
          .setOutputCol("keywords")
          .setMinNGrams(2)
          .setMaxNGrams(3)
      )
      pipeline = Pipeline(stages=[document, sentence, token, keywords])
  
      result = pipeline.fit(self.data).transform(self.data)
      result.select("keywords").show(truncate=False)
  
file_path: spark-nlp/python/test/annotator/keyword_extraction/yake_keyword_extraction_test.py
imports: import unittest
  import pytest
  from sparknlp.annotator import *
  from sparknlp.base import *
  from test.util import SparkContextForTest
label_desc: Use image node_id 2 for calling the YakeKeywordExtractionTestSpec obj's underlying member method code with example usage: obj.runTest() without return types