Web Service

Additionally, a SOAP web service offers convenient programmatic access to the implemented keyphrase extraction functionality. Many thanks to Peyman Nasirifard for his help with the initial web service setup.

Please note that the web-based services are currently unavailable, while we migrate to a new server.

Endpoint and WSDL

The service endpoint is

http://srvgal66.deri.ie:8080/keyword-extraction-webservice/services/keyp...

and accepts calls

String ExtractKeyphrasesFromUrl(String documentUrl)

and

String ExtractKeyphrasesFromText(String documentText)

which would have to implemented as a SOAP client.

Here is a link to the WSDL for the web service description.

Example Invocation

For example, the invocation with

String url = "http://newsvote.bbc.co.uk/mpapps/pagetools/print/news.bbc.co.uk/2/hi/europe/7636989.stm";
String response = client.ExtractKeyphrasesFromUrl(url);

would yield a response with a result as follows:

<keyphrases total="7">
<keyphrase rank="1" string="relationship" confidence="0.622" />
<keyphrase rank="2" string="Venezuela" confidence="0.619" />
<keyphrase rank="3" string="Russia" confidence="0.615" />
<keyphrase rank="4" string="ties Russia" confidence="0.424" />
<keyphrase rank="5" string="Vladimir Putin" confidence="0.403" />
<keyphrase rank="6" string="analyst" confidence="0.324" />
<keyphrase rank="7" string="bn" confidence="0.303" />
</keyphrases>