- Stanford CoreNLP
- Java WebSocket
- A modern browser that supports WebSockets (See http://caniuse.com/websockets). I recommend the latest version of Mozilla Firefox.
- Clone the Java WebSocket repository and build
java_websocket.jar(you may also download the jar directly from the repository). Add this jar to your CLASSPATH.
stanford-corenlp-1.3.5-models.jarand add them to your CLASSPATH (Note: make sure to download the latest version which at this point happens to be 1.3.5)
antto build the StanfordTaggerServer class.
- Run the included script
start_server.shto start the WebSocket server.
- Tag away.
- Please note that currently the server needs to be killed manually since this is what I want. Obviously, this can be easily changed with the same thinking that goes into how to properly kill a regular socket server.
- It should be simple to extend the server to do anything else CoreNLP can do besides tagging.