code: def semcor_to_offset(sensekey):
      
  
      synset = wn.lemma_from_key(sensekey).synset
      offset = '%08d-%s' % (synset.offset, synset.pos)
      return offset
docs: Converts SemCor sensekey IDs to synset offset.
      >>> print semcor_to_offset('live%2:42:06::')
      02614387-v