Skip to content

Commit b71dd66

Browse files
committed
docs(personality-insights, nlu): Address review comments about docs
1 parent 8303306 commit b71dd66

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

natural-language-understanding/src/main/java/com/ibm/watson/developer_cloud/natural_language_understanding/v1/NaturalLanguageUnderstanding.java

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,7 @@ public NaturalLanguageUnderstanding(String versionDate, String username, String
7777
}
7878

7979
/**
80-
* Analyze text, HTML, or a public webpage.
81-
*
82-
* Analyzes text, HTML, or a public webpage with one or more text analysis features. ### Concepts Identify general
83-
* concepts that are referenced or alluded to in your content. Concepts that are detected typically have an associated
84-
* link to a DBpedia resource. ### Emotion Detect anger, disgust, fear, joy, or sadness that is conveyed by your
85-
* content. Emotion information can be returned for detected entities, keywords, or user-specified target phrases
86-
* found in the text. ### Entities Detect important people, places, geopolitical entities and other types of entities
87-
* in your content. Entity detection recognizes consecutive coreferences of each entity. For example, analysis of the
88-
* following text would count \"Barack Obama\" and \"He\" as the same entity: \"Barack Obama was the 44th President of
89-
* the United States. He took office in January 2009.\" ### Keywords Determine the most important keywords in your
90-
* content. Keyword phrases are organized by relevance in the results. ### Metadata Get author information,
91-
* publication date, and the title of your text/HTML content. ### Relations Recognize when two entities are related,
92-
* and identify the type of relation. For example, you can identify an \"awardedTo\" relation between an award and its
93-
* recipient. ### Semantic Roles Parse sentences into subject-action-object form, and identify entities and keywords
94-
* that are subjects or objects of an action. ### Sentiment Determine whether your content conveys postive or negative
95-
* sentiment. Sentiment information can be returned for detected entities, keywords, or user-specified target phrases
96-
* found in the text. ### Categories Categorize your content into a hierarchical 5-level taxonomy. For example,
97-
* \"Leonardo DiCaprio won an Oscar\" returns \"/art and entertainment/movies and tv/movies\" as the most confident
98-
* classification.
80+
* Analyze text, HTML, or a public webpage with one or more text analysis features.
9981
*
10082
* @param analyzeOptions the {@link AnalyzeOptions} containing the options for the call
10183
* @return a {@link ServiceCall} with a response type of {@link AnalysisResults}

personality-insights/src/main/java/com/ibm/watson/developer_cloud/personality_insights/v3/PersonalityInsights.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,7 @@ public PersonalityInsights(String versionDate, String username, String password)
8383
*
8484
* Generates a personality profile for the author of the input text. The service accepts a maximum of 20 MB of input
8585
* content, but it requires much less text to produce an accurate profile; for more information, see [Providing
86-
* sufficient input](https://console.bluemix.net/docs/services/personality-insights/input.html#sufficient). The
87-
* service analyzes text in Arabic, English, Japanese, Korean, or Spanish and returns its results in a variety of
88-
* languages. You can provide plain text, HTML, or JSON input by specifying the **Content-Type** parameter; the
89-
* default is `text/plain`. Request a JSON or comma-separated values (CSV) response by specifying the **Accept**
90-
* parameter; CSV output includes a fixed number of columns and optional headers. Per the JSON specification, the
91-
* default character encoding for JSON content is effectively always UTF-8; per the HTTP specification, the default
92-
* encoding for plain text and HTML is ISO-8859-1 (effectively, the ASCII character set). When specifying a content
93-
* type of plain text or HTML, include the `charset` parameter to indicate the character encoding of the input text;
94-
* for example: `Content-Type: text/plain;charset=utf-8`. For detailed information about calling the service and the
95-
* responses it can generate, see (Requesting a
96-
* profile)[https://console.bluemix.net/docs/services/personality-insights/input.html], (Understanding a JSON
97-
* profile)[https://console.bluemix.net/docs/services/personality-insights/output.html], and (Understanding a CSV
98-
* profile)[https://console.bluemix.net/docs/services/personality-insights/output-csv.html].
86+
* sufficient input](https://console.bluemix.net/docs/services/personality-insights/input.html#sufficient).
9987
*
10088
* @param profileOptions the {@link ProfileOptions} containing the options for the call
10189
* @return a {@link ServiceCall} with a response type of {@link Profile}

0 commit comments

Comments
 (0)