class_docstr: A class to process a collection of words from either a corpus or a list of related words.
  This class provides various filtering methods to narrow down the collection based on specific criteria.
  
  Args:
      words (Corpus | RelatedWords): The corpus or list of related words to be processed.
code: def __init__(self, words: Union[Corpus, RelatedWords]) -> None:
      self.words = words
  
file_path: evals/evals/registry/data/word_association/corpus_tools/processor.py
imports: from collections import namedtuple
  from typing import Iterator, List, Union
  from corpus import Corpus, NltkCorpus
  from related_words import RelatedWords
label_desc: Use image node_id 1 to create a new WordCollectionProcessor object  with example: obj = WordCollectionProcessor(words)