AIDA Toolkit Entity Extraction API

One of many, many undocumented bioinformatics SOAP web services, dug out from an example workflow. This one takes text and returns a list of extracted entities learned from MEDLINE.

$xml = sprintf(
'<?xml version="1.0" encoding="UTF-8"?>
<aid:result xmlns:aid="http://aid.vle.org">
<doc><field name="ID"><value>1</value></field><field name="content"><value>%s</value></field></doc>
</aid:result>',
htmlspecialchars($argv[1])
);
$client = new SoapClient('http://ws.adaptivedisclosure.org/axis/services/NERecognizerService?wsdl');
try{
  $response = $client->NErecognize($xml, 'Medline', 'lucene', 'NElist'); // input_data, learned_model, input_type, output_type
} catch (SoapFault $exception) { print_r($exception); exit(); }
$result = simplexml_load_string($response);
print_r($result->doc[0]);