code: def add_word(self, word):
      if word:
          self.word_dict[len(word)].append(word)
  
file_path: keon-algos/algorithms/tree/trie/add_and_search.py
imports: import collections
label_desc: Use image node_id 2 for calling the WordDictionary2 obj's underlying member method code with example usage: obj.add_word(word) without return types