public class ConceptExpansion extends WatsonService
| 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.
|
ConceptExpansionDataset |
getDataset()
Gets the dataset.
|
List<Concept> |
getJobResult(Job job)
Gets the job result.
|
Job.Status |
getJobStatus(Job job)
Gets the job status.
|
void |
setDataset(ConceptExpansionDataset dataset)
Sets the Dataset to run against.
|
String |
toString() |
execute, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getGson, getHttpClient, setApiKey, setEndPoint, setUsernameAndPasswordpublic ConceptExpansion()
public Job createJob(String label, String[] seeds)
label - A conceptual classification of the seed terms.seeds - List of terms to seed the concept expansionpublic ConceptExpansionDataset getDataset()
public Job.Status getJobStatus(Job job)
job - the jobpublic void setDataset(ConceptExpansionDataset dataset)
dataset - the new datasetpublic String toString()
toString in class WatsonServiceCopyright © 2015. All rights reserved.