Hi Kateryna,
We are very close to a 0.7 release, and I would recommend you not to use
0.5 unless you have a specific reason for that. The separation of spotting
and disambiguation APIs is more mature in the 0.6.5 release and later. I am
now updating the docs to point to 0.6.5.
Please check again the docs:
https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Run-from-a-JAR
Cheers,
Pablo
On Tue, Feb 5, 2013 at 1:53 PM, Kateryna Tymoshenko
<[email protected]>wrote:
> 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
>
>
--
Pablo N. Mendes
http://pablomendes.com
------------------------------------------------------------------------------
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