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[] seeds)
Creates a
Job . |
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, getToken, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toString
public ConceptExpansion()
public Job createJob(String[] seeds)
Job
.seeds
- List of terms to be used as seedsJob
public Job createJob(String label, String[] seeds)
Job
.label
- A conceptual classification of the seed terms.seeds
- List of terms to be used as seedsJob
public Dataset getDataset()
public Job.Status getJobStatus(Job job)
Job
status.job
- the Job
public void setDataset(Dataset dataset)
dataset
- the new datasetCopyright © 2015–2016. All rights reserved.