Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ APIs and SDKs that use cognitive computing to solve complex problems.
* [Language Translation](#language-translation)
* [Natural Language Classifier](#natural-language-classifier)
* [Personality Insights](#personality-insights)
* [Relationship Extraction](#relationship-extraction)
* [Retrieve and Rank](#retrieve-and-rank)
* [Speech to Text](#speech-to-text)
* [Text to Speech](#text-to-speech)
Expand Down Expand Up @@ -366,21 +365,6 @@ authentication errors, remember that the Personality Insights service is not
a free service.


### Relationship Extraction
Analyze an English news article and get the relationships between sentence
components (nouns, verbs, subjects, objects, etc.) by using the
[Relationship Extraction][relationship_extraction] service.

```java
RelationshipExtraction service = new RelationshipExtraction();
service.setUsernameAndPassword("<username>", "<password>");

service.setDataset(Dataset.ENGLISH_NEWS);
String response = service.extract("IBM Watson Developer Cloud").execute();
System.out.println(response);
```


### Retrieve and Rank
The [Retrieve and Rank][retrieve_and_rank] service helps users find the most
relevant information for their query by using a combination of search and
Expand Down Expand Up @@ -618,7 +602,6 @@ See [CONTRIBUTING.md](.github/CONTRIBUTING.md).

[personality_insights]: http://www.ibm.com/watson/developercloud/doc/personality-insights/
[document_conversion]: http://www.ibm.com/watson/developercloud/doc/document-conversion/
[relationship_extraction]: http://www.ibm.com/watson/developercloud/doc/sireapi/
[language_translation]: http://www.ibm.com/watson/developercloud/doc/language-translation/
[visual_recognition]: http://www.ibm.com/watson/developercloud/doc/visual-recognition/
[tradeoff_analytics]: http://www.ibm.com/watson/developercloud/doc/tradeoff-analytics/
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
*/
package com.ibm.watson.developer_cloud.tone_analyzer.v3;

import com.ibm.watson.developer_cloud.tone_analyzer.v3_beta.ToneAnalyzer;
import com.ibm.watson.developer_cloud.tone_analyzer.v3_beta.model.ToneAnalysis;
import com.ibm.watson.developer_cloud.tone_analyzer.v3.model.ToneAnalysis;

public class ToneAnalyzerExample {


public static void main(String[] args) {
ToneAnalyzer service = new ToneAnalyzer(ToneAnalyzer.VERSION_DATE_2016_02_11);
ToneAnalyzer service = new ToneAnalyzer(ToneAnalyzer.VERSION_DATE_2016_05_19);
service.setUsernameAndPassword("<username>", "<password>");

String text =
Expand All @@ -36,7 +35,7 @@ public static void main(String[] args) {
+ "business outcomes. Economy has nothing to do with it.";

// Call the service and get the tone
ToneAnalysis tone = service.getTone(text).execute();
ToneAnalysis tone = service.getTone(text, null).execute();
System.out.println(tone);

}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading