class_docstr: Set expansion module, given a trained np2vec model.
class_docstr_tok: ["Set","expansion","module",",","given","a","trained","np2vec","model","."]
code: def similarity(self, terms, seed, threshold):
      similar = []
      seed_id = self.get_seed_id(seed)
      for term in terms:
          term_id = self.term2id(term)
          if term_id is not None:
              if (
                  self.seed2term_similarity(seed_id, [term_id])
                  > threshold
              ):
                  similar.append(term)
          else:
              logger.info("term: %s is not in vocab", term)
      return similar
  
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 7 for calling the SetExpand obj's underlying member method code with example usage: obj.similarity(terms, seed, threshold) and returns: similar