add Factory to Stanford nlp tools