Added preprocessing hooks to CoreNLP and BioNLP.