public class CoreNLPServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
CoreNLPServlet() |
Modifier and Type | Method and Description |
---|---|
void |
addResults(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init() |
void |
outputCoNLL(java.io.PrintWriter out,
Annotation annotation) |
void |
outputJson(java.io.PrintWriter out,
Annotation annotation) |
void |
outputPretty(java.io.PrintWriter out,
Annotation annotation) |
void |
outputVisualise(java.io.PrintWriter out,
Annotation annotation) |
void |
outputXml(java.io.PrintWriter out,
Annotation annotation) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
public void addResults(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void outputVisualise(java.io.PrintWriter out, Annotation annotation) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void outputPretty(java.io.PrintWriter out, Annotation annotation) throws javax.servlet.ServletException
javax.servlet.ServletException
public void outputXml(java.io.PrintWriter out, Annotation annotation) throws java.io.IOException
java.io.IOException
public void outputJson(java.io.PrintWriter out, Annotation annotation) throws java.io.IOException
java.io.IOException
public void outputCoNLL(java.io.PrintWriter out, Annotation annotation) throws java.io.IOException
java.io.IOException