Healthcare application is focused on information extraction of biomedical knowledge from clinical notes, discharge summaries, as well as many other types of medical records.
Several types of approaches have been used to identify entities in Healthcare application:
The following data sets were used to populate the gazetteers:
The following semantic types are used in Named entity recognition and Relations extraction:
In our example we will use a very simple request for annotating just a couple of sentences:
For the sake of clarity, if you annotate the sample text above with the demo UI of S4 you will see a result like this:
We are now ready to send a simple RESTful request to the S4 text analytics services using a simple command line tool like curl:
Lets go step-by-step through the sample code above:
The following example demonstrates the processing of Office documents (Word) as input for the S4 text anaylitics services. The result is in the format described in the next section.
API Key, Secret and service URL configured in the same way as in the previous example. The request payload comprises of two parts:
The RESTful request itself is performed via curl as multipart message. The HTTP request type should not be explicitly provided (curl configures it properly), however the JSON part 'meta' should explicitly set its content type ("type=application/json")
The full JSON response is available below.
Skip to end of metadata Go to start of metadata