code: def _get_synsets(synset_offsets):
      
      global parser
      if parser is None:
          parser = Parser(_WN_FILE)
      synsets = []
  
      for offset in synset_offsets:
          raw_synset = parser.parse_synset(offset)
          synset = Synset(raw_synset)
  
          SYNSETS_DICT[_get_key_from_raw_synset(raw_synset)] = synset
          SYNSETS_DICT[synset.id] = synset
  
          synsets.append(synset)
  
      return synsets
docs: Given synset offsets in the WordNet file, parses synset object for every offset.
  
      Notes
      -----
      Internal function. Do not call directly.
      Stores every parsed synset into global synset dictionary under two keys:
        synset's name lemma.pos.sense_no and synset's id (unique integer).
  
      Parameters
      ----------
      synset_offsets : list of ints
        Lists pointer offsets from which synset objects will be parsed.
        
      Returns
      -------
      list of Synsets
        Lists synset objects which synset_offsets point to.