add corenlp support to api