(s)
an important word is not a stopword, a number, or len == 1
an important word is not a stopword, a number, or len == 1
an important word is not a stopword a number or len == 1
def is_important_word(s):
    """
    an important word is not a stopword, a number, or len == 1
    """
    try:
        if len(s) <= 1 or s.lower() in STOPWORDS:
            return False
        float(s)
        return False
    except:
        return True
def is_important_word ( s ) : try : if len ( s ) <= 1 or s . lower ( ) in STOPWORDS : return False float ( s ) return False except : return True