Package | Description |
---|---|
com.ibm.watson.developer_cloud.concept_insights.v2 |
Concept Insights Service v2
|
com.ibm.watson.developer_cloud.concept_insights.v2.model |
Classes that map the HTTP service requests and responses into POJOs
|
com.ibm.watson.developer_cloud.concept_insights.v2.util |
Utility classes to work with corpus, graph and concepts ids
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<Corpus> |
ConceptInsights.getCorpus(Corpus corpus)
Retrieves corpus object to a list of individual concepts.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<QueryConcepts> |
ConceptInsights.conceptualSearch(Corpus corpus,
Map<String,Object> parameters)
Performs a conceptual search within a corpus.
|
ServiceCall<Void> |
ConceptInsights.createCorpus(Corpus corpus)
Creates an empty corpus.
|
ServiceCall<Void> |
ConceptInsights.deleteCorpus(Corpus corpus)
Deletes a corpus by ID.
|
ServiceCall<Corpus> |
ConceptInsights.getCorpus(Corpus corpus)
Retrieves corpus object to a list of individual concepts.
|
ServiceCall<CorpusProcessingState> |
ConceptInsights.getCorpusProcessingState(Corpus corpus)
Gets processing state of a Corpus.
|
ServiceCall<Concepts> |
ConceptInsights.getCorpusRelatedConcepts(Corpus corpus,
Map<String,Object> parameters)
Retrieves concepts that are related to an entire corpus.
|
ServiceCall<Scores> |
ConceptInsights.getCorpusRelationScores(Corpus corpus,
List<Concept> concepts)
Returns a list of scores that denotes how related an entire corpus is to a list of individual
concepts.
|
ServiceCall<CorpusStats> |
ConceptInsights.getCorpusStats(Corpus corpus)
Gets processing state of a Corpus.
|
ServiceCall<Documents> |
ConceptInsights.listDocuments(Corpus corpus)
Retrieves the documents of a given corpus.
|
ServiceCall<Documents> |
ConceptInsights.listDocuments(Corpus corpus,
Map<String,Object> parameters)
Retrieves the documents of a given corpus.
|
ServiceCall<Matches> |
ConceptInsights.searchCorpusByLabel(Corpus corpus,
Map<String,Object> parameters)
Searches for documents and concepts by using partial matches on the label(s) fields.
|
ServiceCall<Void> |
ConceptInsights.updateCorpus(Corpus corpus)
Updates existing corpus meta-data (access and permissions).
|
Modifier and Type | Field and Description |
---|---|
static Corpus |
Corpus.IBM_RESEARCHERS
The Constant IBM_RESEARCHERS.
|
static Corpus |
Corpus.TED_TALKS
The Constant TED_TALKS.
|
Modifier and Type | Method and Description |
---|---|
List<Corpus> |
Corpora.getCorpora()
Gets the corpora.
|
Modifier and Type | Method and Description |
---|---|
void |
Corpora.setCorpora(List<Corpus> corpora)
Sets the corpora.
|
Constructor and Description |
---|
Document(Corpus corpus,
String document)
Instantiates a new document.
|
Modifier and Type | Method and Description |
---|---|
static String |
IDHelper.getCorpusId(Corpus corpus,
String accountId)
This method validate the id if it has been populated in the corpus object, otherwise it will
generated it.
|
Copyright © 2015–2016. All rights reserved.