Hello!

I'm trying to run statistical system with curl but it seem that something goes wrong.
When I try to run:

   curl http://spotlight.sztaki.hu:2222/rest/annotate/ --data-urlencode
   "text= President Obama called Wednesday on Congress to extend a tax
   break in San Sebastian."


This is the output:

   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd";>
   <html>
   <head>
   <title>DBpedia Spotlight annotation</title>
   <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
   </head>
   <body>
   <div>
     President Obama called Wednesday on Congress to extend a tax break
   in San Sebastian.
   </div>
   </body>


There is an error in the curl sentence? with lucene works well and the output is correct:

   curl http://spotlight.dbpedia.org/rest/annotate/ --data-urlencode
   "text=President Obama called Wednesday on Congress to extend a tax
   break in San Sebastian."


thanks

ander,


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to