Re: DBPedia Spotlight Enhancer is not working

2012-12-06 Thread Rupert Westenthaler
On Wed, Dec 5, 2012 at 1:09 PM, Rafa Haro wrote: > Hi Rupert, > > I haven't been able to reproduce it using online dbpedia spotlight web > service. The only way I know to trigger the exception is using a local > installation of DBpedia Spotlight and loading a wrong spotting dictionary. I > know th

Re: DBPedia Spotlight Enhancer is not working

2012-12-05 Thread Rafa Haro
Hi Rupert, I haven't been able to reproduce it using online dbpedia spotlight web service. The only way I know to trigger the exception is using a local installation of DBpedia Spotlight and loading a wrong spotting dictionary. I know that sounds very specific but I have tried other options a

Re: DBPedia Spotlight Enhancer is not working

2012-12-04 Thread Rupert Westenthaler
Hi Can you produce additional information on how to reproduce this. I tried some texts that give no results but those have not triggered this. best Rupert On Wed, Dec 5, 2012 at 12:06 AM, Pablo N. Mendes wrote: > Just for clarity, the log message tells you (perhaps not clearly enough) > that

Re: DBPedia Spotlight Enhancer is not working

2012-12-04 Thread Pablo N. Mendes
Just for clarity, the log message tells you (perhaps not clearly enough) that the output of spotlight is empty: "//Información: Removed 1 (100 percent) spots using spotSelector ChainedSelector//" However, there seems to be still a problem on Stanbol's side when no results are returned. Even with

Re: DBPedia Spotlight Enhancer is not working

2012-12-04 Thread Rafa Haro
Hi Rupert and Reto, Just wanted to let you know that finally the problem was produced by an empty output of DBpedia Spotlight due to a bad configuration in its side. Thanks for your help again Regards El 03/12/12 19:20, Rupert Westenthaler escribió: Hi Reto, Rafa @Rafa: I do not thing this

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Rupert Westenthaler
Hi Reto, Rafa @Rafa: I do not thing this is related to the spotlight engine @Reto: Could this be related to the Stanbol Security. Is this already active. Andreas Gruber was asking me about the same Exception earlier today. On Mon, Dec 3, 2012 at 7:09 PM, Rafa Haro wrote: > //03.12.2012 18:54:25

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Rafa Haro
Hi Rupert, El 03/12/12 18:17, Rupert Westenthaler escribió: Hi Rafa, a fast lookup in the code has shown that SUPPORTED_LANGUAGES is hardcoded to "en" at the moment. Making this configureable is not a big deal. Even better would be if spotlight would provide a service where one can request the

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Rupert Westenthaler
Hi Rafa, a fast lookup in the code has shown that SUPPORTED_LANGUAGES is hardcoded to "en" at the moment. Making this configureable is not a big deal. Even better would be if spotlight would provide a service where one can request the supported languages. I suggest to open a JIRA issue about that

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Iavor Jelev
Hi Rafa, yes, it should. For Spanish - add (or change to) "es". For further languages, please refer to: http://stanbol.apache.org/docs/trunk/components/enhancer/engines/langidengine.html cheers, Iavor Am 03.12.2012 16:28, schrieb Rafa Haro: > Hi Iavor, > > thanks for your quick response. Until

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Rafa Haro
Hi Iavor, thanks for your quick response. Until have it configurable, to get by now, would it work just adding new languages to this parameter? Thanks. Regards El 03/12/12 15:58, Iavor Jelev escribió: Hi Rafa, you are correct, that's the cause. At the time we contributed it, we aggreed on e

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Iavor Jelev
Hi Rafa, you are correct, that's the cause. At the time we contributed it, we aggreed on english. The parameter can be found in [path to engines]/dbpspotlight/Constants.java The parameter is called SUPPORTED_LANGUAGES. I think it is time we make that configurable. best, Iavor Am 03.12.2012 14:

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Rafa Haro
Hi again, In the post about DBpedia Spotlight and Apache Stanbol Integration by Iavor Jelev [1] you can read exactly the following: */$chainURL/dbpspotlight/*/ //This chain replicates the functionality of dbpspotlightannotate, by chaining dbpspotlightspot and dbpspotlightdisambiguate. Please

Re: DBPedia Spotlight Enhancer is not working

2012-12-03 Thread Rafa Haro
Hi Rupert, As always, thanks for your help. Inspecting the logs, part of the mystery has clarified. Basically, the problem is the language. I'm trying to test DBPedia Spotlight enhancer with Spanish texts. So, I did a request to the Stanbol Dev Server with a Spanish text and got the same resu

DBPedia Spotlight Enhancer is not working

2012-11-30 Thread Rafa Haro
Hi all, I was trying to test the DBPedia Spotlight enhancer with a local installation of DBPedia Spotlight in an out-of-the-box Stanbol from the repository. So, I changed the URL of the service in dbpspotlightannotate engine to my point to my local service endpoint. When I tested it, the enha