Updating function: StanfordNlpWrapper.toPhrases