class_docstr: An abstract base class for getting related words.
  
  To implement this class for a specific API, you must define a _get_related_words() method.
code: def __init__(
      self, word: str, **kwargs: Optional[Union[str, int]]
  ) -> None:
      self.word = word
      self.kwargs = kwargs
      self.words_dict = self._get_related_words()
      self.words = [word["word"] for word in self.words_dict]
  
imports: from abc import ABC, abstractmethod
  from typing import Any, Dict, Generator, List, Optional, Tuple, Union
  import requests
label_desc: Use image node_id 1 to create a new RelatedWords object from inherited base classes: ABC with example: obj = RelatedWords(word)