All URIs are relative to https://localhost/api
Method | HTTP request | Description |
---|---|---|
getAnnotate | GET /nlp/annotate/{text} | Returns list of matches |
List<Association> getAnnotate(text, category)
Returns list of matches
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.NlpannotateApi;
NlpannotateApi apiInstance = new NlpannotateApi();
String text = "text_example"; // String |
List<String> category = Arrays.asList("category_example"); // List<String> | E.g. phenotype
try {
List<Association> result = apiInstance.getAnnotate(text, category);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NlpannotateApi#getAnnotate");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
text | String | ||
category | List<String> | E.g. phenotype | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json