public class RelationshipExtraction extends WatsonService
| Constructor and Description |
|---|
RelationshipExtraction()
Instantiates a new relationship extraction service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
extract(String text)
Extract.
|
RelationshipExtractionDataset |
getDataset()
Gets the dataset.
|
void |
setDataset(RelationshipExtractionDataset dataset)
Sets the dataset.
|
execute, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getGson, getHttpClient, setApiKey, setEndPoint, setUsernameAndPassword, toStringpublic RelationshipExtraction()
public RelationshipExtractionDataset getDataset()
public void setDataset(RelationshipExtractionDataset dataset)
dataset - the new datasetCopyright © 2015. All rights reserved.