Skip to content

Commit

Permalink
add missing instructions for NL v1.1beta (#635)
Browse files Browse the repository at this point in the history
missing instructions to run the new method entity sentiment analysis
  • Loading branch information
merla18 authored and lesv committed Apr 28, 2017
1 parent 6de96d8 commit 9570885
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions language/analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,15 @@ java -cp target/language-entities-1.0-jar-with-dependencies.jar \
"The quick brown fox jumped over the lazy dog."
```

Analyze sentiment Beta
Analyze sentiment with Beta Languages such as German
```
java -cp target/language-entities-1.0-jar-with-dependencies.jar \
com.google.cloud.language.samples.AnalyzeBeta sentiment "Ich habe eine wundervolle Zeit." "DE"
```

Analyze entity sentiment - Beta
```
java -cp target/language-entities-1.0-jar-with-dependencies.jar com.google.cloud.language.samples.AnalyzeBeta entities-sentiment "The quick brown fox jumped over the lazy dog."
```

Included with the sample are `demo.sh` and `demo.bat` which show additional
examples of usage.
Expand Down

0 comments on commit 9570885

Please sign in to comment.