Added encoding option to OpenNLPPoSTagger.