Acromine Disambiguation REST Service (Request Access)
Acromine Disambiguation REST Service provides a RESTful interface, where you can disambiguate abbreviations in text from your client programs. It is necessary to obtain an access key to use the service.
Sample
Acromine Disambiguation REST API
This Web service receives a text as a parameter, and returns the result of abbreviation disambiguation in JSON format.
Request URL (GET)
To use this service, send an HTTP GET request to the following URL:
http://www.nactem.ac.uk/software/acromine_disambiguation/rest.py
Request parameters
This table explains the parameters for the service.
| Name | Type | Description |
|---|---|---|
| key | string | The key string to access the service. |
| text | string | The text for which this service disambiguate abbreviations. |
Response
The service returns an array in JSON format. Each element in the array consists of the following members:
| Name | Type | Description |
|---|---|---|
| type | string | Type of the abbreviation. "definition": abbreviation definition, "local": local abbreviation, "global": global abbreviation. |
| sf | string | Short form. |
| sbegin | int | The offset, in characters, from which the short form appears. |
| send | int | The offset, in characters, just beyond the short form. |
| lf | string | Long form. |
| lbegin | int | The offset, in characters, from which the long form appears. This field exists only when the type is "definition". |
| lend | int | The offset, in characters, just beyond the long form. This field exists only when the type is "definition". |



