nlp server ported to java from node.js