Adding function: StanfordNlpWrapper.toPhrases