Hi,
I am trying to run Spotlight from a jar using the command:
java -cp dbpedia-spotlight-0.5.2-jar-with-dependencies.jar
org.dbpedia.spotlight.web.rest.Server server.properties
I am getting this error:
org.dbpedia.spotlight.exceptions.ConfigurationException: Please specify a list
of disambiguators in org.dbpedia.spotlight.disambiguate.disambiguators within
your configuration file server.properties.
at
org.dbpedia.spotlight.model.DisambiguatorConfiguration.<init>(DisambiguatorConfiguration.java:62)
at
org.dbpedia.spotlight.model.SpotlightConfiguration.<init>(SpotlightConfiguration.java:165)
at org.dbpedia.spotlight.web.rest.Server.main(Server.java:75)
My server.properties looks like this:
>>>>>>>>>>>
org.dbpedia.spotlight.web.rest.uri = http://localhost:2222/rest
org.dbpedia.spotlight.index.dir = /hosting/app/spotlight/data/index
org.dbpedia.spotlight.spot.dictionary =
/hosting/app/spotlight/data/small/surface_forms-Wikipedia-TitRedDis.uriThresh75.tsv.spotterDictionary
jcs.default.cacheattributes.MaxObjects = 5000
org.dbpedia.spotlight.tagging.hmm =
/hosting/app/spotlight/data/pos-en-general-brown.HiddenMarkovModel
org.dbpedia.spotlight.sparql.endpoint = http://dbpedia.org/sparql
org.dbpedia.spotlight.sparql.graph = http://dbpedia.org
# Configurations for the CoOccurrenceBasedSelector
# From: http://spotlight.dbpedia.org/download/release-0.5/spot_selector.tgz
org.dbpedia.spotlight.spot.cooccurrence.datasource = ukwac
org.dbpedia.spotlight.spot.cooccurrence.database.jdbcdriver =
org.hsqldb.jdbcDriver
org.dbpedia.spotlight.spot.cooccurrence.database.connector =
jdbc:hsqldb:file:/fastdata/spotlight/3.7/spotsel/ukwac_candidate;shutdown=true&readonly=true
org.dbpedia.spotlight.spot.cooccurrence.database.user = sa
org.dbpedia.spotlight.spot.cooccurrence.database.password =
org.dbpedia.spotlight.spot.cooccurrence.classifier.unigram =
/fastdata/spotlight/3.7/spotsel/ukwac_unigram.model
org.dbpedia.spotlight.spot.cooccurrence.classifier.ngram =
/fastdata/spotlight/3.7/spotsel/ukwac_ngram.model
# Other possible values:
AtLeastOneNounSelector,CoOccurrenceBasedSelector,NESpotter
org.dbpedia.spotlight.spot.spotters = LingPipeSpotter
org.dbpedia.spotlight.spot.opennlp.dir = /fastdata/spotlight/3.7/opennlp
# Info for context searcher
org.dbpedia.spotlight.language = English
org.dbpedia.spotlight.lucene.analyzer = SnowballAnalyzer
# Choose between jdbc or lucene for DBpedia Resource creation. Also, if the
jdbc throws an error, lucene will be used.
org.dbpedia.spotlight.core.database = jdbc
org.dbpedia.spotlight.core.database.jdbcdriver = org.hsqldb.jdbcDriver
org.dbpedia.spotlight.core.database.connector =
jdbc:hsqldb:file:/data/spotlight/3.7/database/spotlight-db;shutdown=true&readonly=true
org.dbpedia.spotlight.core.database.user = sa
org.dbpedia.spotlight.core.database.password =
# From
http://spotlight.dbpedia.org/download/release-0.5/candidate-index-full.tgz
org.dbpedia.spotlight.candidateMap.dir =
/fastdata/spotlight/3.7/candidateIndexTitRedDis
<<<<<<<<<<<
Any idea what's wrong here?
Thanks,
Essam
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users