Dear all,
I need to annotate some specific spots in my text document with links to
DBpedia. From what I have understood from the documentation I need to use
either the WikiMarkupSpotter or SpotXmlParser.
However, I have problems when trying to use them in the 0.5 DBpedia
spotlight jar distribution.
I have downloaded the 0.5 DBpedia spotlight version, the jar distribution,
following the instructions on this page
https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Run-from-a-JAR .
It works fine with the default "server.properties" file.
However, when in "server.properties" I change
*>org.dbpedia.spotlight.spot.spotters = LingPipeSpotter *
to
*>org.dbpedia.spotlight.spot.spotters = WikiMarkupSpotter*
I get the following error message:
>java -Xmx5G -cp dbpedia-spotlight-0.5.jar
org.dbpedia.spotlight.web.rest.Server server.properties
org.dbpedia.spotlight.exceptions.ConfigurationException: Unknown spotter
'WikiMarkupSpotter' specified in 'org.dbpedia.spotlight.spot.spotters'.
at
org.dbpedia.spotlight.model.SpotterConfiguration.getSpotterPolicies(SpotterConfiguration.java:144)
at
org.dbpedia.spotlight.model.SpotterConfiguration.<init>(SpotterConfiguration.java:47)
at
org.dbpedia.spotlight.model.SpotlightConfiguration.<init>(SpotlightConfiguration.java:143)
at org.dbpedia.spotlight.web.rest.Server.main(Server.java:70)
usage: java -jar dbpedia-spotlight.jar
org.dbpedia.spotlight.web.rest.Server [config file] or: mvn scala:run
"-DaddArgs=[config file]"
Could you tell me please whether there is any other way to use
dbpedia-spotlight-0.5.jar in order to annotate user-predefined text spots
in a document?
Thank you,
Best regards,
Kateryna
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users