def res_word_type(corp, word):
    if isstr(word):
        return corp.words_int[word], word

    return word, str(word)
If `word` is a string, performs a look up for its associated
dataset/ETHPy150Open inpho/vsm/vsm/viewer/types.py/res_word_type