'Initialize a sense from a synset\'s senseTuple.'

def __init__(sense, synset, senseTuple, verbFrames=None):

    sense.pos = synset.pos
    'part    of    speech    --    one    of    NOUN,    VERB,    ADJECTIVE,    ADVERB'
    sense.synsetOffset = synset.offset
    'synset    key.        This    is    used    to    retrieve    the    sense.'
    sense.verbFrames = verbFrames
    'A    sequence    of    integers    that    index    into\n                                VERB_FRAME_STRINGS.    These    list    the    verb    frames    that    this\n                                Sense    partipates    in.        Defined    only    for    verbs.'
    (form, idString) = senseTuple
    sense.position = None
    if ('(' in form):
        index = string.index(form, '(')
        key = form[(index + 1):(-1)]
        form = form[:index]
        if (key == 'a'):
            sense.position = ATTRIBUTIVE
        elif (key == 'p'):
            sense.position = PREDICATIVE
        elif (key == 'ip'):
            sense.position = IMMEDIATE_POSTNOMINAL
        else:
            raise ('unknown    attribute    ' + key)
    sense.form = string.replace(form, '_', '    ')
    'orthographic    representation    of    the    Word    this    is    a    Sense    of.'
