def class_abbrev(type):
    """
    Abbreviate an NE class name.
    :type type: str
    :rtype: str
    """
    try:
        return long2short[type]
    except __HOLE__:
        return type
dataset/ETHPy150Open nltk/nltk/nltk/sem/relextract.py/class_abbrev