code: def __init__(self, dictionary, *args, **kwargs):
      self.dictionary = dictionary
  
      if len(dictionary) < 0:
          raise ValueError("Dictionary is empty")
  
      super(IgnoreUnknownWords, self).__init__(*args, **kwargs)
  
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 1 to create a new IgnoreUnknownWords object from inherited base classes: CustomTransformerMixin with example: obj = IgnoreUnknownWords(dictionary)