code: def setUp(self):
      self.data = (
          SparkContextForTest.spark.createDataFrame(
              [
                  ["This is my first sentence. This is my second."],
                  ["This is my third sentence. This is my forth."],
              ]
          )
          .toDF("text")
          .cache()
      )
  
file_path: spark-nlp/python/test/annotator/n_gram_generator_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 1 for calling the NGramGeneratorTestSpec obj's underlying member method code with example usage: obj.setUp() without return types