annotationsdbpediaspotlight-dbpedia

Low confidences with DBpedia Spotlight


I am a little bit confused why I get such low confidences with the REST API of Spotlight.

I run the following code/call:

curl http://spotlight.dbpedia.org/rest/annotate \
 --data-urlencode "text=Hallo, i am looking for a new Microsoft or Apple tablet." \
 --data "confidence=0.2" \
 --data "support=20" 

then I just get similarityScores between 0.130 and 0.135.

When I try this text in the demo (http://dbpedia-spotlight.github.io/demo/) then I can get the results until to a confidence of 0.60. What cause my low confidence values? How can I obtain correct values?

p.s. Is there anywhere a more comprehensive documentation?


Solution

  • First similarityScores does not correspond to the values of Confidence. But more importantly http://spotlight.dbpedia.org/rest/annotate is not the endpoint being used by the demo.

    The endpoint being used by the demo is: http://spotlight.sztaki.hu:2222/rest