def getPOS(word):
    etri = getETRI(word)
    pos = etri[0]['WSD'][0]['type']
    if pos.startswith('N'):
        pos = 'n'
    elif (pos == 'VV'):
        pos = 'v'
    elif (pos == 'VA'):
        pos = 'adj'
    else:
        (pos == 'n')
    return pos
def getPOS(word):
    etri = getETRI(word)
    pos = etri[0]['WSD'][0]['type']
    if pos.startswith('N'):
        pos = 'n'
    elif (pos == 'VV'):
        pos = 'v'
    elif (pos == 'VA'):
        pos = 'adj'
    else:
        (pos == 'n')
    return pos