public class ConceptExpansion extends WatsonService
VERSION| Constructor and Description |
|---|
ConceptExpansion()
Instantiates a new Concept Expansion service.
|
| Modifier and Type | Method and Description |
|---|---|
Job |
createJob(String label,
String[] seeds)
Creates a
Job. |
Dataset |
getDataset()
Gets the dataset.
|
List<Concept> |
getJobResult(Job job)
Gets the
Job result. |
Job.Status |
getJobStatus(Job job)
Gets the
Job status. |
void |
setDataset(Dataset dataset)
Sets the Dataset to run against.
|
configureHttpClient, execute, executeRequest, executeWithoutResponse, getApiKey, getEndPoint, getName, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toStringpublic ConceptExpansion()
public Job createJob(String label, String[] seeds)
Job.label - A conceptual classification of the seed terms.seeds - List of terms to be used as seedsJobpublic Dataset getDataset()
public Job.Status getJobStatus(Job job)
Job status.job - the Jobpublic void setDataset(Dataset dataset)
dataset - the new datasetCopyright © 2015–2016. All rights reserved.