class_docstr: Set expansion module, given a trained np2vec model.
class_docstr_tok: ["Set","expansion","module",",","given","a","trained","np2vec","model","."]
docstr: Return the vocabulary as the list of terms.
  
  Returns:
      the list of terms.
docstr_tok: ["Return","the","vocabulary","as","the","list","of","terms",".","Returns",":","the","list","of","terms","."]
code: def get_vocab(self):
      """
      Return the vocabulary as the list of terms.
  
      Returns:
          the list of terms.
      """
      vocab = []
      for id in self.np2vec_model.vocab:
          term = self.__id2term(id)
          if term is not None:
              vocab.append(term)
      return vocab
  
file_path: nlp-architect/solutions/set_expansion/set_expand.py
imports: import logging
  import sys
  from argparse import ArgumentParser
  from os import path
  from nlp_architect.models.np2vec import NP2vec
  from nlp_architect.utils.io import validate_existing_filepath, check_size, load_json_file
label_desc: Use image node_id 4 for calling the SetExpand obj's underlying member method code with example usage: obj.get_vocab() and returns: vocab