Modifier and Type | Method and Description |
---|---|
ServiceCall<DocumentAuthors> |
AlchemyLanguage.getAuthors(Map<String,Object> params)
Extracts the authors from a URL or HTML.
|
ServiceCall<CombinedResults> |
AlchemyLanguage.getCombinedResults(Map<String,Object> params)
Automatically perform analysis using multiple features on any web page or posted (uploaded)
HTML/text file.
|
ServiceCall<Concepts> |
AlchemyLanguage.getConcepts(Map<String,Object> params)
Extracts concepts tags for text, HTML, or a URLL.
|
ServiceCall<Dates> |
AlchemyLanguage.getDates(Map<String,Object> params)
Extracts dates for text, a URL or HTML.
|
ServiceCall<DocumentEmotion> |
AlchemyLanguage.getEmotion(Map<String,Object> params)
Detects emotions in a text, URL or HTML.
|
ServiceCall<Entities> |
AlchemyLanguage.getEntities(Map<String,Object> params)
Extracts a grouped, ranked list of named entities (people, companies, organizations, etc.) from
text, a URL or HTML.
|
ServiceCall<Feeds> |
AlchemyLanguage.getFeeds(Map<String,Object> params)
Detects the RSS/ATOM feeds for a URL or HTML.
|
ServiceCall<ImageKeywords> |
AlchemyVision.getImageKeywords(File image,
Boolean forceShowAll,
Boolean knowledgeGraph)
Extracts keywords from an image.
|
ServiceCall<ImageKeywords> |
AlchemyVision.getImageKeywords(URL url,
Boolean forceShowAll,
Boolean knowledgeGraph)
Extracts keywords from a URL.
|
ServiceCall<ImageLink> |
AlchemyVision.getImageLink(String html)
Extracts the main image link from a HTML page.
|
ServiceCall<ImageLink> |
AlchemyVision.getImageLink(URL url)
Extracts main image link from a URL.
|
ServiceCall<ImageSceneText> |
AlchemyVision.getImageSceneText(File image)
Identifies text in an image.
|
ServiceCall<ImageSceneText> |
AlchemyVision.getImageSceneText(URL url)
Identifies text in an image specified by URL or in the primary image in a web page specified by
URL.
|
ServiceCall<Keywords> |
AlchemyLanguage.getKeywords(Map<String,Object> params)
Extracts the keywords from text, a URL or HTML.
|
ServiceCall<Language> |
AlchemyLanguage.getLanguage(Map<String,Object> params)
Detects the language for text, a URL or HTML.
|
ServiceCall<Microformats> |
AlchemyLanguage.getMicroformats(Map<String,Object> params)
Parses the
Microformats for a URL or HTML. |
ServiceCall<DocumentsResult> |
AlchemyDataNews.getNewsDocuments(Map<String,Object> parameters)
Gets the news documents.
|
ServiceCall<DocumentPublicationDate> |
AlchemyLanguage.getPublicationDate(Map<String,Object> params)
Extracts publication date information when it is specified in web pages.
|
ServiceCall<SAORelations> |
AlchemyLanguage.getRelations(Map<String,Object> params)
Extracts Subject-Action-Object(SAO) relations from text, a URL or HTML.
|
ServiceCall<DocumentSentiment> |
AlchemyLanguage.getSentiment(Map<String,Object> params)
Calculates the sentiment for text, a URL or HTML.
|
ServiceCall<Taxonomies> |
AlchemyLanguage.getTaxonomy(Map<String,Object> params)
Categorized through the taxonomy call for text, HTML, or a URL.
|
ServiceCall<DocumentText> |
AlchemyLanguage.getText(Map<String,Object> params)
Extracts the cleaned text (removes ads, navigation, etc.) for a URL or HTML.
|
ServiceCall<DocumentTitle> |
AlchemyLanguage.getTitle(Map<String,Object> params)
Extracts the title for a URL or HTML.
|
ServiceCall<VolumeResult> |
AlchemyDataNews.getVolume(String start,
String end,
String timeSlice)
Get a handle on how many documents are relevant for your query.
|
ServiceCall<ImageFaces> |
AlchemyVision.recognizeFaces(File image,
Boolean knowledgeGraph)
Recognizes faces from an image.
For each face detected returns: Bounding box Gender Approximate age Name (if celebrity is detected) Here is an example of how to recognize faces in an image: |
ServiceCall<ImageFaces> |
AlchemyVision.recognizeFaces(URL url,
Boolean knowledgeGraph)
Recognizes faces from a URL.
For each face detected returns: Bounding box Gender Approximate age Name (if celebrity is detected) Here is an example of how to recognize faces in an image: |
Modifier and Type | Method and Description |
---|---|
ServiceCall<Annotations> |
ConceptInsights.annotateText(Graph graph,
String text)
Identifies concepts in a piece of text.
|
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.createDocument(Document document)
Creates a document in a given corpus.
|
ServiceCall<Void> |
ConceptInsights.deleteCorpus(Corpus corpus)
Deletes a corpus by ID.
|
ServiceCall<Void> |
ConceptInsights.deleteDocument(Document document)
Deletes a document in a given corpus.
|
ServiceCall<Accounts> |
ConceptInsights.getAccountsInfo()
Retrieves the account identifiers.
|
ServiceCall<ConceptMetadata> |
ConceptInsights.getConcept(Concept concept)
Returns information for a specific concept node in a graph.
|
ServiceCall<Concepts> |
ConceptInsights.getConceptRelatedConcepts(Concept concept,
Map<String,Object> parameters)
Searches for graph concepts from a Concept by using partial matches.
|
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<Document> |
ConceptInsights.getDocument(Document document)
Retrieves a document from a corpus.
|
ServiceCall<DocumentAnnotations> |
ConceptInsights.getDocumentAnnotations(Document document)
Retrieves conceptual view of document (including annotations).
|
ServiceCall<DocumentProcessingStatus> |
ConceptInsights.getDocumentProcessingState(Document document)
Retrieves processing state of document.
|
ServiceCall<Concepts> |
ConceptInsights.getDocumentRelatedConcepts(Document document,
Map<String,Object> parameters)
Retrieves concepts that are related (in conceptual sense) to a given document.
|
ServiceCall<Scores> |
ConceptInsights.getDocumentRelationScores(Document document,
List<Concept> concepts)
Returns a list of scores that denotes how related a document is to a list of concepts.
|
ServiceCall<Concepts> |
ConceptInsights.getGraphRelatedConcepts(Graph graph,
List<Concept> concepts,
Map<String,Object> parameters)
Searches for graph concepts by using partial matches.
|
ServiceCall<Scores> |
ConceptInsights.getGraphRelationScores(Concept concept,
List<String> concepts)
Returns a list of scores that denotes how related a source concept is to a list of individual
concepts.
|
ServiceCall<Corpora> |
ConceptInsights.listCorpora()
Retrieves the available corpus objects.
|
ServiceCall<Corpora> |
ConceptInsights.listCorpora(String accountId)
Retrieves the available corpus objects associated with an account identifier.
|
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<Graphs> |
ConceptInsights.listGraphs()
Retrieves the available
Graphs . |
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<Matches> |
ConceptInsights.searchGraphsConceptByLabel(Graph graph,
Map<String,Object> parameters)
Searches for graph concepts by using partial matches.
|
ServiceCall<Void> |
ConceptInsights.updateCorpus(Corpus corpus)
Updates existing corpus meta-data (access and permissions).
|
ServiceCall<Void> |
ConceptInsights.updateDocument(Document document)
Updates a document in a given corpus.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<Conversation> |
DialogService.converse(Conversation conversation,
String newMessage)
Starts or continue conversations.
|
ServiceCall<Conversation> |
DialogService.createConversation(String dialogId)
Starts or continue conversations.
|
ServiceCall<Dialog> |
DialogService.createDialog(String name,
File dialogFile)
Creates a dialog.
|
ServiceCall<Void> |
DialogService.deleteDialog(String dialogId)
Deletes a dialog.
|
ServiceCall<List<DialogContent>> |
DialogService.getContent(String dialogId)
Gets content for nodes.
|
ServiceCall<List<ConversationData>> |
DialogService.getConversationData(ConversationDataOptions options)
Returns chat session data dump for a given date rage.
|
ServiceCall<List<Dialog>> |
DialogService.getDialogs()
Retrieves the list of Dialogs for the user.
|
ServiceCall<Map<String,String>> |
DialogService.getProfile(Conversation conversation,
String... names)
Returns a list of name-value pars associated with a client id.
|
ServiceCall<Map<String,String>> |
DialogService.getProfile(String dialogId,
Integer clientId,
String... names)
Returns a list of name-value pars associated with a client id.
|
ServiceCall<Void> |
DialogService.updateDialog(String dialogId,
File dialogFile)
Updates an existing
Dialog . |
ServiceCall<Void> |
DialogService.updateProfile(Conversation conversation,
Map<String,String> profile)
Updates a profile with a Map of key-value variables.
Profile variables are case sensitive. |
ServiceCall<Void> |
DialogService.updateProfile(String dialogId,
Integer clientId,
Map<String,String> profile)
Updates a dialog profile with a profile.
Profile variables are case sensitive. |
Modifier and Type | Method and Description |
---|---|
ServiceCall<Answers> |
DocumentConversion.convertDocumentToAnswer(File document)
Converts a document to Answer Units.
|
ServiceCall<Answers> |
DocumentConversion.convertDocumentToAnswer(File document,
String mediaType)
Converts a document to Answer Units.
|
ServiceCall<Answers> |
DocumentConversion.convertDocumentToAnswer(File document,
String mediaType,
com.google.gson.JsonObject customConfig)
Converts a document to Answer Units using a custom configuration.
|
ServiceCall<String> |
DocumentConversion.convertDocumentToHTML(File document)
Converts a document to HTML.
|
ServiceCall<String> |
DocumentConversion.convertDocumentToHTML(File document,
String mediaType)
Converts a document to HTML.
|
ServiceCall<String> |
DocumentConversion.convertDocumentToHTML(File document,
String mediaType,
com.google.gson.JsonObject customConfig)
Converts a document to HTML using a custom configuration.
|
ServiceCall<String> |
DocumentConversion.convertDocumentToText(File document)
Converts a document to Text.
|
ServiceCall<String> |
DocumentConversion.convertDocumentToText(File document,
String mediaType)
Converts a document to Text.
|
ServiceCall<String> |
DocumentConversion.convertDocumentToText(File document,
String mediaType,
com.google.gson.JsonObject customConfig)
Converts a document to Text using a custom configuration.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<TranslationModel> |
LanguageTranslation.createModel(CreateModelOptions options)
Creates a translation models.
|
ServiceCall<Void> |
LanguageTranslation.deleteModel(String modelId)
Deletes a translation models.
|
ServiceCall<List<IdentifiableLanguage>> |
LanguageTranslation.getIdentifiableLanguages()
Gets the The identifiable languages.
|
ServiceCall<TranslationModel> |
LanguageTranslation.getModel(String modelId)
Gets a translation models.
|
ServiceCall<List<TranslationModel>> |
LanguageTranslation.getModels()
Gets the translation models.
|
ServiceCall<List<TranslationModel>> |
LanguageTranslation.getModels(Boolean showDefault,
String source,
String target)
Retrieves the list of models.
|
ServiceCall<List<IdentifiedLanguage>> |
LanguageTranslation.identify(String text)
Identify language in which text is written.
|
ServiceCall<TranslationResult> |
LanguageTranslation.translate(String text,
Language source,
Language target)
Translate text using source and target languages.
Here is an example of how to translate "hello" from English to Spanish: |
ServiceCall<TranslationResult> |
LanguageTranslation.translate(String text,
String modelId)
Translate text using a given model.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<Classification> |
NaturalLanguageClassifier.classify(String classifierId,
String text)
Returns classification information for a classifier on a phrase.
|
ServiceCall<Classifier> |
NaturalLanguageClassifier.createClassifier(String name,
String language,
File trainingData)
Sends data to create and train a classifier, and returns information about the new classifier.
|
ServiceCall<Void> |
NaturalLanguageClassifier.deleteClassifier(String classifierId)
Deletes a classifier.
|
ServiceCall<Classifier> |
NaturalLanguageClassifier.getClassifier(String classifierId)
Retrieves a classifier.
|
ServiceCall<Classifiers> |
NaturalLanguageClassifier.getClassifiers()
Retrieves the list of classifiers for the user.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<Profile> |
PersonalityInsights.getProfile(ProfileOptions options)
Returns a
Profile with a tree of characteristics that include personality, needs, and
values. |
ServiceCall<Profile> |
PersonalityInsights.getProfile(String text)
Accepts text and responds with a
Profile with a tree of characteristics that include
personality, needs, and values. |
ServiceCall<String> |
PersonalityInsights.getProfileAsCSV(ProfileOptions options,
boolean includeHeaders)
Returns a CSV profile.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<String> |
RelationshipExtraction.extract(String text)
Extracts relationships between sentence components (nouns, verbs, subjects, objects, etc.)
Here is an example of how to extract sentence components: |
Modifier and Type | Method and Description |
---|---|
ServiceCall<Ranker> |
RetrieveAndRank.createRanker(String name,
File training)
Sends data to create and train a ranker, and returns information about the new ranker.
|
ServiceCall<SolrCluster> |
RetrieveAndRank.createSolrCluster() |
ServiceCall<SolrCluster> |
ClusterLifecycleManager.createSolrCluster()
Creates a new Solr cluster.
|
ServiceCall<SolrCluster> |
RetrieveAndRank.createSolrCluster(SolrClusterOptions config) |
ServiceCall<SolrCluster> |
ClusterLifecycleManager.createSolrCluster(SolrClusterOptions solrClusterConfig)
Creates a new Solr cluster, based on the provided configuration.
|
ServiceCall<Void> |
RetrieveAndRank.deleteRanker(String rankerID)
Deletes a ranker.
|
ServiceCall<Void> |
RetrieveAndRank.deleteSolrCluster(String solrClusterId) |
ServiceCall<Void> |
ClusterLifecycleManager.deleteSolrCluster(String SolrClusterId)
Deletes an existing Solr Cluster
SolrCluster . |
ServiceCall<Void> |
SolrConfigManager.deleteSolrClusterConfiguration(String solrClusterId,
String configurationName)
Deletes a configuration namespace in ZooKeeper.
|
ServiceCall<Void> |
RetrieveAndRank.deleteSolrClusterConfiguration(String solrClusterId,
String configName) |
ServiceCall<Rankers> |
RetrieveAndRank.getRankers()
retrieves the list of rankers for the user.
|
ServiceCall<Ranker> |
RetrieveAndRank.getRankerStatus(String rankerID)
Retrieves the status of a ranker.
|
ServiceCall<SolrCluster> |
RetrieveAndRank.getSolrCluster(String solrClusterId) |
ServiceCall<SolrCluster> |
ClusterLifecycleManager.getSolrCluster(String SolrClusterId)
Returns a Solr cluster information.
|
ServiceCall<InputStream> |
SolrConfigManager.getSolrClusterConfiguration(String solrClusterId,
String configurationName)
Gets the configuration from ZooKeeper.
|
ServiceCall<InputStream> |
RetrieveAndRank.getSolrClusterConfiguration(String solrClusterId,
String configName) |
ServiceCall<SolrConfigs> |
SolrConfigManager.getSolrClusterConfigurations(String solrClusterId)
Lists the configuration sets in ZooKeeper.
|
ServiceCall<SolrConfigs> |
RetrieveAndRank.getSolrClusterConfigurations(String solrClusterId) |
ServiceCall<SolrClusters> |
RetrieveAndRank.getSolrClusters() |
ServiceCall<SolrClusters> |
ClusterLifecycleManager.getSolrClusters()
Lists all Solr clusters currently associated with the service instance.
|
ServiceCall<Ranking> |
RetrieveAndRank.rank(String rankerID,
File answers,
Integer topAnswers)
Gets and returns the ranked answers.
|
ServiceCall<Void> |
SolrConfigManager.uploadSolrClusterConfigurationDirectory(String solrClusterId,
String configName,
File configDirectory)
Uploads a configuration
File to ZooKeeper's namespace, including schema.xml,
solrconfig.xml, and all other necessary config files to configure a SolrCloud collection. |
ServiceCall<Void> |
RetrieveAndRank.uploadSolrClusterConfigurationDirectory(String solrClusterId,
String configName,
File directory) |
ServiceCall<Void> |
SolrConfigManager.uploadSolrClusterConfigurationZip(String solrClusterId,
String configName,
File zippedConfig)
Uploads a configuration ZIP
File to ZooKeeper's namespace, including schema.xml,
solrconfig.xml, and all other necessary config files to configure a SolrCloud collection. |
ServiceCall<Void> |
RetrieveAndRank.uploadSolrClusterConfigurationZip(String solrClusterId,
String configName,
File zippedConfig) |
Modifier and Type | Method and Description |
---|---|
protected <T> ServiceCall<T> |
WatsonService.createServiceCall(okhttp3.Request request,
ResponseConverter<T> converter)
Creates the service call.
|
ServiceCall<String> |
WatsonService.getToken()
Gets an authorization token that can be use to authorize API calls.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<SpeechSession> |
SpeechToText.createSession()
Creates a session to lock an engine to the session.
|
ServiceCall<SpeechSession> |
SpeechToText.createSession(SpeechModel model)
Creates a session to lock an engine to the session.
|
ServiceCall<SpeechSession> |
SpeechToText.createSession(String model)
Creates a session to lock an engine to the session.
|
ServiceCall<Void> |
SpeechToText.deleteSession(SpeechSession session)
Deletes a
SpeechSession |
ServiceCall<SpeechModel> |
SpeechToText.getModel(String modelName)
Gets the speech model based on a given name.
|
ServiceCall<List<SpeechModel>> |
SpeechToText.getModels()
Gets the models.
|
ServiceCall<SpeechSessionStatus> |
SpeechToText.getRecognizeStatus(SpeechSession session)
Gets the session status.
|
ServiceCall<SpeechResults> |
SpeechToText.recognize(File audio)
Recognizes an audio file and returns
SpeechResults . |
ServiceCall<SpeechResults> |
SpeechToText.recognize(File audio,
RecognizeOptions options)
Recognizes an audio file and returns
SpeechResults .Here is an example of how to recognize an audio file: |
Modifier and Type | Method and Description |
---|---|
ServiceCall<List<Voice>> |
TextToSpeech.getVoices()
Gets the voices.
|
ServiceCall<InputStream> |
TextToSpeech.synthesize(String text,
Voice voice)
Synthesize text using a voice.
|
ServiceCall<InputStream> |
TextToSpeech.synthesize(String text,
Voice voice,
AudioFormat audioFormat)
Synthesize text using a
Voice and AudioFormat . |
Modifier and Type | Method and Description |
---|---|
ServiceCall<ToneAnalysis> |
ToneAnalyzer.getTone(String text)
Analyzes the "tone" of a piece of text.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<Dilemma> |
TradeoffAnalytics.dilemmas(Problem problem)
Returns a dilemma that contains the
Problem and a Resolution . |
ServiceCall<Dilemma> |
TradeoffAnalytics.dilemmas(Problem problem,
Boolean generateVisualization)
Returns a dilemma that contains the
Problem and a Resolution . |
Modifier and Type | Method and Description |
---|---|
ServiceCall<Classifiers> |
VisualInsights.getClassifiers()
Returns a summary of the collection's visual classifiers.
|
ServiceCall<Classifiers> |
VisualInsights.getClassifiers(String name)
Returns a summary of the collection's visual classifiers, filtered by name.
|
ServiceCall<Summary> |
VisualInsights.getSummary(File imagesFile)
Upload a set of images as a ZIP file for visual insight extraction.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<VisualClassification> |
VisualRecognition.classify(File imagesFile)
Classifies the image/s against all the classifiers.
|
ServiceCall<VisualClassification> |
VisualRecognition.classify(File imagesFile,
VisualClassifier... classifiers)
Classifies the images against the label groups and labels.
|
ServiceCall<VisualClassification> |
VisualRecognition.classify(String filename,
InputStream imagesInputStream,
VisualClassifier... classifiers)
Classifies the image/s against the Classifiers.
|
ServiceCall<VisualClassifier> |
VisualRecognition.createClassifier(String name,
File positiveImages,
File negativeImages)
Train a new classifier on the uploaded image data.
|
ServiceCall<Void> |
VisualRecognition.deleteClassifier(String classifierId)
Deletes a classifier.
|
ServiceCall<VisualClassifier> |
VisualRecognition.getClassifier(String classifierId)
Retrieves a classifier.
|
ServiceCall<List<VisualClassifier>> |
VisualRecognition.getClassifiers()
Retrieves the list of classifiers.
|
Copyright © 2015–2016. All rights reserved.