Hi all,

I'm trying to recreate the spotlight demo locally.

I've tried to follow the advice from:
https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Downloads and
http://stackoverflow.com/questions/12874050/how-to-configure-the-on-your-server-spotlight-to-give-the-same-output-as-the-spo

The diff between my server.properties file and the one provided with 
dbpedia-spotlight-quickstart-0.6.5 is...

< org.dbpedia.spotlight.spot.dictionary = 
data/surface_forms-Wikipedia-TitRedDis.uriThresh75.tsv.spotterDictionary
> org.dbpedia.spotlight.spot.dictionary = data/spotter.dict
< org.dbpedia.spotlight.candidateMap.dir = data/candidateIndexTitRedDis
> org.dbpedia.spotlight.candidateMap.dir = data/index
< org.dbpedia.spotlight.index.dir = data/index-withSF-withTypes-compressed
> org.dbpedia.spotlight.index.dir = data/index

However while the demo returns:
<a href="http://dbpedia.org/resource/Presidency_of_Barack_Obama"; 
title="http://dbpedia.org/resource/Presidency_of_Barack_Obama"; 
target="_blank">President Obama</a> called <a 
href="http://dbpedia.org/resource/Sheffield_Wednesday_F.C."; 
title="http://dbpedia.org/resource/Sheffield_Wednesday_F.C."; 
target="_blank">Wednesday</a> on <a 
href="http://dbpedia.org/resource/United_States_Congress"; 
title="http://dbpedia.org/resource/United_States_Congress"; 
target="_blank">Congress</a> to extend a tax break for <a 
href="http://dbpedia.org/resource/Student"; 
title="http://dbpedia.org/resource/Student"; target="_blank">students</a> 
included in last <a href="http://dbpedia.org/resource/University"; 
title="http://dbpedia.org/resource/University"; target="_blank">year</a>'s 
economic stimulus <a href="http://dbpedia.org/resource/Packaging_and_labeling"; 
title="http://dbpedia.org/resource/Packaging_and_labeling"; 
target="_blank">package</a>, arguing that the <a 
href="http://dbpedia.org/resource/Policy"; 
title="http://dbpedia.org/resource/Policy"; target="_blank">policy</a> provides 
more generous <a href="http://dbpedia.org/resource/Assistance_dog"; 
title="http://dbpedia.org/resource/Assistance_dog"; 
target="_blank">assistance</a>.My local version returns:
<a href="http://dbpedia.org/resource/Presidency_of_Barack_Obama"; 
title="http://dbpedia.org/resource/Presidency_of_Barack_Obama"; 
target="_blank">President Obama</a> called Wednesday on <a 
href="http://dbpedia.org/resource/United_States_Congress"; 
title="http://dbpedia.org/resource/United_States_Congress"; 
target="_blank">Congress</a> to extend a tax break for students included in 
last year's economic stimulus package, arguing that the policy provides more 
generous assistance.
I then tried to increase the number of spotters, however this did not change 
the response.
< org.dbpedia.spotlight.spot.spotters = 
LingPipeSpotter,WikiMarkupSpotter,AtLeastOneNounSelector,CoOccurrenceBasedSelector,NESpotter,OpenNLPChunkerSpotter
> org.dbpedia.spotlight.spot.spotters = LingPipeSpotter,WikiMarkupSpotter

Note I could not include the OpenNLPNGramSpotter as it caused a 
ConfigurationException: Unknown spotter 'OpenNLPNGramSpotter' 

I then tried the 
surface_forms-Wikipedia-TitRedDis.uriThresh10.tsv.spotterDictionary... but 
still got the same response.

Can you give me any other pointers as to how to get the full response?

thanks

Neil



                                          
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to