Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
darrynten authored Mar 28, 2018
1 parent d1d289f commit 4db9650
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@ Usage of Google\Cloud\Storage\StorageObject is presently not possible.
* Custom `authCache` and `authCacheOptions`
* Custom `httpHandler` and `authHttpHandler`

## Entity Sentiment

You can retrieve the sentiment of some text

```
$instance = new GoogleNaturalLanguage($config);
$instance->setText('A duck and a cat in a field at night');
$sentiment = $instance->getEntitySentiment();
```

## Roadmap

- [ ] - Get Entities of Type - Will allow the ability to retrieve, for
Expand All @@ -144,5 +154,6 @@ example, only the People, or only the Locations

* [Dmitry Semenov](https://github.com/mxnr) for being such a legend.
* [Bradley Weston](https://github.com/bweston92) for coming out of nowhere.
* [blaisedufrain](https://github.com/blaisedufrain) for the sentiment analysis.

* Open a PR and put yourself here :)

0 comments on commit 4db9650

Please sign in to comment.