Hi Pablo I was just about to propose some changes in the wiki, but if the update is imminent, maybe they don't make sense. It's about problems I encountered, and which took me quite some time to figure out. That's why I thought about putting them on the wiki. But the update will probably make them obsolete, so better not? What do you think?
Specifically, I found a little troubling * The insistence to use Maven2: I think at the moment, Maven3 is *required*. * Indexing only works with Java7 (else, there will be a "Illegal pattern character 'X'"-Error) * The Java version, in turn, has to be adapted in the main POM * Internationalization doesn't work with release 0.6, which isn't mentioned in the interntionalization how-to (I didn't try 0.6.5, I didn't even know it existed) * Wikipedia-Dumps (I checked en, de and fr) have start and end tags of the form "# started 2012-06-04T09:54:24Z", which cause a parsing error. (I think this isn't a spotlight problem, it occurrs externally. The only solution I found was to cut them manually.) So the question is: Should I try to integrate this into the wiki, or will the problems disappear anyway with the upcoming version? For internal purposes, I had to write a complete how-to (pretty similar to the spanish example), so a different solution might be to put this guide on a seperate wiki page. Cheers, Hali > 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 > ------------------------------------------------------------------------------ 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
