added vectorize function for semeval;

added utility functions from lifeng and evan;