code: def substitute_stopwords(self, aug, data):
      original_stopwords = aug.stopwords
      if isinstance(data, list):
          stopwords = [t.lower() for t in data[0].split(" ")[:3]]
          aug.stopwords = stopwords
          aug._build_stop_words(stopwords)
      else:
          stopwords = [t.lower() for t in data.split(" ")[:3]]
          aug.stopwords = stopwords
          aug._build_stop_words(stopwords)
      aug_n = 3
  
      self.assertLess(0, len(data))
  
      try_cnt = 5
      for _ in range(try_cnt):
          augmented_cnt = 0
          augmented_data = aug.augment(data)
  
          if isinstance(data, list):
              for d, augmented_text in zip(data, augmented_data):
                  augmented_tokens = aug.tokenizer(augmented_text)
                  tokens = aug.tokenizer(d)
                  for token, augmented_token in zip(
                      tokens, augmented_tokens
                  ):
                      if (
                          token.lower() in aug.stopwords
                          and len(token) > aug_n
                      ):
                          self.assertEqual(
                              token.lower(), augmented_token
                          )
                      else:
                          augmented_cnt += 1
  
                  self.assertGreater(augmented_cnt, 3)
          else:
              augmented_text = augmented_data[0]
              augmented_tokens = aug.tokenizer(augmented_text)
              tokens = aug.tokenizer(data)
  
              for token, augmented_token in zip(
                  tokens, augmented_tokens
              ):
                  if (
                      token.lower() in aug.stopwords
                      and len(token) > aug_n
                  ):
                      self.assertEqual(token.lower(), augmented_token)
                  else:
                      augmented_cnt += 1
  
              self.assertGreater(augmented_cnt, 3)
  
      aug.stopwords = original_stopwords
      aug._build_stop_words(original_stopwords)
  
imports: import unittest
  import os
  from dotenv import load_dotenv
  import torch
  import nlpaug.augmenter.word
  import nlpaug.model.lang_models
label_desc: Use image node_id 16 for calling the TestContextualWordEmbsAug obj's underlying member method code with example usage: obj.substitute_stopwords(aug, data) without return types