code: def transform(self, texts, y=None):
      dictionary = self.dictionary
      cleaned_texts = []
  
      for text in texts:
          cleaned_text = [word for word in text if word in dictionary]
          cleaned_texts.append(cleaned_text)
  
      return cleaned_texts
  
file_path: neupy/examples/mlp/imdb_review_classification/src/preprocessing.py
imports: from nltk.corpus import stopwords
  from nltk.tokenize import RegexpTokenizer
  from sklearn.base import TransformerMixin
  from sklearn.preprocessing import FunctionTransformer
label_desc: Use image node_id 2 for calling the IgnoreUnknownWords obj's underlying member method code with example usage: obj.transform(texts, y) and returns: cleaned_texts