Yes.

You can encode your input as SpotXml and send it to /annotate normally like
you do with plain text, but using the spotter SpotXmlParser.

http://spotlight.dbpedia.org/rest/annotate?spotter=SpotXmlParser&text=%3Cannotation%20text=%22For%20the%20same%20$1,299%20you%20could%20spend%20on%20this%2021.5-inch%20Apple%20iMac,%20you%20can%20buy%20a%2023-inch%20or%20even%20a%2027-inch%20Windows-based%20all-in-one,%20and%20with%20more%20robust%20features.%20Yes,%20for%20better%20or%20for%20worse,%20those%20other%20PCs%20have%20Windows%208.%20They%20also%20have%20touch%20screens%20and%20optical%20drives,%20features%20that%20Apple%20has%20deemed%20inessential%20for%20a%20desktop.%20You%20might%20agree%20with%20Apple.%20You%20might%20also%20accept%20Apple's%20hallmark%20design%20excellence%20and%20display%20quality%20as%20worthy%20substitutions.%20You%20might%20even%20need%20or%20want%20a%20particular%20function%20of%20OS%20X%20that%20you%20can't%20get%20in%20a%20Windows%20PC.%22%3E%20%3CsurfaceForm%20name=%22Windows%22%20offset=%22106%22/%3E%20%3C/annotation%3E

References:
https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/SpotXml
https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Spotting

Cheers,
Pablo

On Thu, Mar 7, 2013 at 4:22 AM, Chux <[email protected]> wrote:

> Hi,
>
> Is there any way in the system or in the source could where I could do
> modifications so that  I could disambiguate just a specific word(Which
> means having a pre-defined "spot/s", thus skipping the automated spotting
> phase)?
>
> For example in this string:
>
> For the same $1,299 you could spend on this 21.5-inch Apple iMac, you can
> buy a 23-inch or even a 27-inch Windows-based all-in-one, and with more
> robust features.
> Yes, for better or for worse, those other PCs have Windows 8. They also
> have touch screens and optical drives, features that Apple has deemed
> inessential for a desktop. You might agree with Apple. You might also
> accept Apple's hallmark design excellence and display quality as worthy
> substitutions. You might even need or want a particular function of OS X
> that you can't get in a Windows PC.
>
> I just want to disambiguate the word Windows. So to do that, Windows must
> first be spotted and the only one spotted. I was wondering if there is a
> way to do that, because currently when I try this on the demo, it also
> spots the other words that I dont want annotated.
>
> Thanks,
> Chux
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Dbp-spotlight-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>
>


-- 

Pablo N. Mendes
http://pablomendes.com
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to