Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.34 KB

NlpannotateApi.md

File metadata and controls

54 lines (37 loc) · 1.34 KB

NlpannotateApi

All URIs are relative to https://localhost/api

Method HTTP request Description
getAnnotate GET /nlp/annotate/{text} Returns list of matches

getAnnotate

List<Association> getAnnotate(text, category)

Returns list of matches

Example

// 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();
}

Parameters

Name Type Description Notes
text String
category List<String> E.g. phenotype [optional]

Return type

List<Association>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json