docstr: Find hypernyms of word that fit in templates
  
  Parameters
  ----------
  templates : str, list, tuple, or dict
      On leaves: templates with {tags}, which will be substituted for mapping in **kwargs
  word : str
      Word for which we want hypernyms
  threshold : float
      Maximum allowed log likelihood difference between word and antonym in context
  
  Returns
  -------
  list
      List of hypernyms that fit the given templates
docstr_tok: ["Find","hypernyms","of","word","that","fit","in","templates","Parameters","--","--","--","--","--","templates",":","str",",","list",",","tuple",",","or","dict","On","leaves",":","templates","with","{","tags","}",",","which","will","be","substituted","for","mapping","in","*","*","kwargs","word",":","str","Word","for","which","we","want","hypernyms","threshold",":","float","Maximum","allowed","log","likelihood","difference","between","word","and","antonym","in","context","Returns","--","--","--","-","list","List","of","hypernyms","that","fit","the","given","templates"]
code: def hypernyms(self, templates, word, threshold=5, **kwargs):
      """Find hypernyms of word that fit in templates
  
      Parameters
      ----------
      templates : str, list, tuple, or dict
          On leaves: templates with {tags}, which will be substituted for mapping in **kwargs
      word : str
          Word for which we want hypernyms
      threshold : float
          Maximum allowed log likelihood difference between word and antonym in context
  
      Returns
      -------
      list
          List of hypernyms that fit the given templates
  
      """
      return self._wordnet_stuff(
          templates, word, "hypernyms", threshold=threshold, **kwargs
      )
  
imports: import collections
  import itertools
  import string
  import numpy
  import re
  import copy
  import os
  import json
  import munch
  import pickle
  import csv
  from .viewer.template_editor import TemplateEditor
  from .multilingual import multilingual_params, get_language_code
label_desc: Use image node_id 9 for calling the Editor obj's underlying member method code with example usage: obj.hypernyms(templates, word, threshold) and returns: self