classifier takes a list of words as input