Code for competing in some tasks in SemEval 2014