Hi Silviu,
Maybe you can use the "Candidates" endpoint :
http://spotlight.sztaki.hu:2222/rest/candidates?support=0&confidence=0&text=Washington%20is%20a%20big%20city
it basically prints the candidate entities before disambiguation.
On Sun, May 25, 2014 at 10:30 AM, silviu.stefan
<[email protected]>wrote:
> Hello. My name is Stefan Silviu, currently a senior student at the
> Faculty of Computer Science in Iasi, Romania.
> I am developing an application for my Bachelor's Degree, which
> improves the linking of Romanian words
> to English word. Simply put, my application gets a text in Romanian,
> divides it in lemmas, translates them in English and tries to find links
> on DBpedia for those words. After finding links to resources on
> DBpedia, I ask the user if the original work, in Romanian, is related to
> the resource
> found.
> For that matter I am using your DBpedia Spotlight project, the
>
> https://github.com/dbpedia-spotlight/dbpedia-spotlight/blob/master/eval/src/main/java/org/dbpedia/spotlight/evaluation/external/DBpediaSpotlightClient.java
> client.
> My question about this client and the project in general is: Is
> there any way that the HTTPRequest to the spotlight server to return
> more than one entry?
> For example, if I look for the word apple, with a confidence of 0 and
> support of 0, is there any way the result to be more than Apple III (
> the company)?
> Is there any way the result to be an array of word? like the fruit
> apple and the company Apple?
> If I look for the word Madonna, with a confidence of 0 and support of
> 0, it returns a song named Lady Madonna. Is there any way the result to
> be the artist
> Madonna and the song Lady Madonna?
> (Once again, these are just examples)
>
> What do you advise me to do?
>
> Thank you very much for providing this awesome project.
>
> Sincerely, with appreciation,
> Stefan Silviu.
>
>
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> Dbp-spotlight-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users