
com.ibm.watson.developer_cloud.cognitive_client.NaturalLanguageClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cognitive-client-java Show documentation
Show all versions of cognitive-client-java Show documentation
A Java library providing enhanced client support for IBM's Watson Developer Cloud.
The newest version!
/**
*
*/
package com.ibm.watson.developer_cloud.cognitive_client;
import com.ibm.watson.developer_cloud.cognitive_client.Util.DataType;
import com.ibm.watson.developer_cloud.cognitive_client.Util.NaturalLanguageService;
/**
* @author ArunIyengar
*
*/
public interface NaturalLanguageClient {
/**
* Analyze and aggregate data from the text analysis service
*
* @param text
* data itself, or URL containing data to be analyzed
* @param type
* indicates whether the first parameter should be treated as raw text, html, or a url
* @param description
* user-provided description to be stored with the analyzed data
* @return analyzed and aggregated results from text analysis service, null if the text analysis
* service failed to produce valid results
*
*/
AggregateData analyzeData(String text, DataType type, String description);
/**
* Return identity of natural language service
*
* @return identity of natural language service
*
* */
NaturalLanguageService serviceType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy