} catch (MalformedURLException ignored) {}
if (docUrl==null)
docUrl = new URL("http://spotlight.dbpedia.org/id/"+text.hashCode());
FeedbackStore output = new CSVFeedbackStore(System.out);
output.add(docUrl,new Text(text),new DBpediaResource(entityUri),new SurfaceForm(surfaceForm),offset,feedback,systems);
response = "ok";
return ServerUtils.ok(response);
} catch (Exception e) {
e.printStackTrace();
throw new WebApplicationException(Response.status(Response.Status.BAD_REQUEST). entity(ServerUtils.print(e)).type(MediaType.TEXT_HTML).build());