code: def test_delimiter_override(self):
      x = pd.Series(
          [
              "This is a test file.",
              "This,is,second,line, and?",
              "and;subsequent;lines...",
          ],
      )
  
      expected = pd.Series([2, 2, 1])
      actual = self.primitive(
          word_set=self.test_word_bank,
          delimiters_regex="[ ,;]",
      ).get_function()(x)
      pd.testing.assert_series_equal(
          actual, expected, check_names=False
      )
  
file_path: featuretools/featuretools/tests/primitive_tests/natural_language_primitives_tests/test_number_of_common_words.py
imports: import numpy
  import pandas
  from featuretools.primitives import NumberOfCommonWords
  from featuretools.tests.primitive_tests.utils import PrimitiveTestBase, find_applicable_primitives, valid_dfs
label_desc: Use image node_id 1 for calling the TestNumberOfCommonWords obj's underlying member method code with example usage: obj.test_delimiter_override() without return types