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<TypedRelations> |
AlchemyLanguage.getTypedRelations(Map<String,Object> params)
Finds entities and their relationships from a text, 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<MessageResponse> |
ConversationService.message(String workspaceId,
MessageRequest request)
Sends a message to the service through a
MessageRequest . |
Modifier and Type | Method and Description |
---|---|
ServiceCall<Conversation> |
DialogService.converse(Conversation conversation,
String newMessage)
Deprecated.
Starts or continue conversations.
|
ServiceCall<Conversation> |
DialogService.createConversation(String dialogId)
Deprecated.
Starts or continue conversations.
|
ServiceCall<Dialog> |
DialogService.createDialog(String name,
File dialogFile)
Deprecated.
Creates a dialog.
|
ServiceCall<Void> |
DialogService.deleteDialog(String dialogId)
Deprecated.
Deletes a dialog.
|
ServiceCall<List<DialogContent>> |
DialogService.getContent(String dialogId)
Deprecated.
Gets content for nodes.
|
ServiceCall<List<ConversationData>> |
DialogService.getConversationData(ConversationDataOptions options)
Deprecated.
Returns chat session data dump for a given date rage.
|
ServiceCall<List<Dialog>> |
DialogService.getDialogs()
Deprecated.
Retrieves the list of Dialogs for the user.
|
ServiceCall<Map<String,String>> |
DialogService.getProfile(Conversation conversation,
String... names)
Deprecated.
Returns a list of name-value pars associated with a client id.
|
ServiceCall<Map<String,String>> |
DialogService.getProfile(String dialogId,
Integer clientId,
String... names)
Deprecated.
Returns a list of name-value pars associated with a client id.
|
ServiceCall<Void> |
DialogService.updateDialog(String dialogId,
File dialogFile)
Deprecated.
Updates an existing
Dialog . |
ServiceCall<Void> |
DialogService.updateProfile(Conversation conversation,
Map<String,String> profile)
Deprecated.
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)
Deprecated.
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.
|
ServiceCall<String> |
DocumentConversion.indexDocument(IndexDocumentOptions indexDocumentOptions)
Converts and indexes the document and metadata provided.
|
Modifier and Type | Method and Description |
---|---|
ServiceCall<TranslationModel> |
LanguageTranslation.createModel(CreateModelOptions options)
Creates a translation model.
|
ServiceCall<Void> |
LanguageTranslation.deleteModel(String modelId)
Deletes a translation model.
|
ServiceCall<List<IdentifiableLanguage>> |
LanguageTranslation.getIdentifiableLanguages()
Gets the The identifiable languages.
|
ServiceCall<TranslationModel> |
LanguageTranslation.getModel(String modelId)
Gets a translation model.
|
ServiceCall<List<TranslationModel>> |
LanguageTranslation.getModels()
Gets the translation model.
|
ServiceCall<List<TranslationModel>> |
LanguageTranslation.getModels(Boolean showDefault,
String source,
String target)
Retrieves the list of model.
|
ServiceCall<List<IdentifiedLanguage>> |
LanguageTranslation.identify(String text)
Identify language in which text is written.
|
ServiceCall<TranslationResult> |
LanguageTranslation.translate(List<String> texts,
Language source,
Language target)
Translate multiple texts using source and target languages.
|
ServiceCall<TranslationResult> |
LanguageTranslation.translate(List<String> texts,
String modelId)
Translate multiple texts using a given model.
|
ServiceCall<TranslationResult> |
LanguageTranslation.translate(String text,
Language source,
Language target)
Translate text using source and target languages.
|
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<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> |
RetrieveAndRank.deleteSolrClusterConfiguration(String solrClusterId,
String configName) |
ServiceCall<Void> |
SolrConfigManager.deleteSolrClusterConfiguration(String solrClusterId,
String configurationName)
Deletes a configuration namespace in ZooKeeper.
|
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> |
RetrieveAndRank.getSolrClusterConfiguration(String solrClusterId,
String configName) |
ServiceCall<InputStream> |
SolrConfigManager.getSolrClusterConfiguration(String solrClusterId,
String configurationName)
Gets the configuration from ZooKeeper.
|
ServiceCall<SolrConfigs> |
RetrieveAndRank.getSolrClusterConfigurations(String solrClusterId) |
ServiceCall<SolrConfigs> |
SolrConfigManager.getSolrClusterConfigurations(String solrClusterId)
Lists the configuration sets in ZooKeeper.
|
ServiceCall<SolrClusterSizeResponse> |
RetrieveAndRank.getSolrClusterResizeStatus(String solrClusterId) |
ServiceCall<SolrClusterSizeResponse> |
ClusterLifecycleManager.getSolrClusterResizeStatus(String solrClusterId)
Get the status of a resize request for a cluster.
|
ServiceCall<SolrClusters> |
RetrieveAndRank.getSolrClusters() |
ServiceCall<SolrClusters> |
ClusterLifecycleManager.getSolrClusters()
Lists all Solr clusters currently associated with the service instance.
|
ServiceCall<SolrClusterStats> |
RetrieveAndRank.getSolrClusterStats(String solrClusterId)
Gathers memory and disk usage stats from a Solr cluster.
|
ServiceCall<Ranking> |
RetrieveAndRank.rank(String rankerID,
File answers,
Integer topAnswers)
Gets and returns the ranked answers.
|
ServiceCall<Ranking> |
RetrieveAndRank.rank(String rankerID,
InputStream answers,
Integer topAnswers)
Gets and returns the ranked answers.
|
ServiceCall<SolrClusterSizeResponse> |
RetrieveAndRank.resizeSolrCluster(String solrClusterId,
int requestedSize) |
ServiceCall<SolrClusterSizeResponse> |
ClusterLifecycleManager.resizeSolrCluster(String solrClusterId,
int requestedSize)
Change the size of the Solr cluster.
|
ServiceCall<Void> |
RetrieveAndRank.uploadSolrClusterConfigurationDirectory(String solrClusterId,
String configName,
File directory) |
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.uploadSolrClusterConfigurationZip(String solrClusterId,
String configName,
File zippedConfig) |
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. |
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<Void> |
TextToSpeech.deleteCustomVoiceModel(CustomVoiceModel model)
Deletes the given CustomVoiceModel (requires a valid id to be set).
|
ServiceCall<Void> |
TextToSpeech.deleteWord(CustomVoiceModel model,
CustomTranslation translation)
Deletes a custom word translation.
|
ServiceCall<CustomVoiceModel> |
TextToSpeech.getCustomVoiceModel(String id)
Gets the meta data of a specific CustomVoiceModel.
|
ServiceCall<List<CustomVoiceModel>> |
TextToSpeech.getCustomVoiceModels(String language)
Gets all meta data of the CustomVoiceModels that you own.
|
ServiceCall<Pronunciation> |
TextToSpeech.getPronunciation(String word,
Voice voice,
Phoneme phoneme)
Returns the phonetic pronunciation for the
word specified. |
ServiceCall<Voice> |
TextToSpeech.getVoice(String voiceName)
Gets the voice based on a given name.
|
ServiceCall<List<Voice>> |
TextToSpeech.getVoices()
Gets the voices.
|
ServiceCall<List<CustomTranslation>> |
TextToSpeech.getWords(CustomVoiceModel model)
Gets all customized word translation of the given CustomVoiceModel.
|
ServiceCall<CustomVoiceModel> |
TextToSpeech.saveCustomVoiceModel(CustomVoiceModel model)
Saves a CustomVoiceModel.
|
ServiceCall<Void> |
TextToSpeech.saveWords(CustomVoiceModel model,
CustomTranslation... translations)
Saves or updates custom word translations.
|
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 . |
ServiceCall<InputStream> |
TextToSpeech.synthesize(String text,
Voice voice,
AudioFormat audioFormat,
String customizationId)
Synthesize text using a
Voice and AudioFormat . |
Modifier and Type | Method and Description |
---|---|
ServiceCall<ToneAnalysis> |
ToneAnalyzer.getTone(String text,
ToneOptions options)
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<VisualClassification> |
VisualRecognition.classify(ClassifyImagesOptions options)
Classify.
|
ServiceCall<VisualClassifier> |
VisualRecognition.createClassifier(ClassifierOptions options)
Train a new classifier on the uploaded image data.
|
ServiceCall<Void> |
VisualRecognition.deleteClassifier(String classifierId)
Deletes a classifier.
|
ServiceCall<DetectedFaces> |
VisualRecognition.detectFaces(VisualRecognitionOptions options)
Detect faces.
|
ServiceCall<VisualClassifier> |
VisualRecognition.getClassifier(String classifierId)
Retrieve information about a specific classifier.
|
ServiceCall<List<VisualClassifier>> |
VisualRecognition.getClassifiers()
Retrieve the user-trained classifiers.
|
ServiceCall<RecognizedText> |
VisualRecognition.recognizeText(VisualRecognitionOptions options)
Recognize text.
|
ServiceCall<VisualClassifier> |
VisualRecognition.updateClassifier(String classifierId,
ClassifierOptions options)
Update an existing classifier by adding new classes, or by adding new images to existing classes.
|
Copyright © 2015–2016 IBM Watson. All rights reserved.