Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyima committed Mar 13, 2018
1 parent 316965f commit f501992
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
# Natural_Language_Processing
# Natural Language Processing - Sentiment Analysis


## 1. Sentiment Analysis with Amazon Comprehend (AWS Comprehend)

### 1.1 About
In this notebook, I used Amazon comprehend to implement sentiment analysis on one review of the episode of South Park from Dani Di Placido Forbes #OnTV section.

Article is available on Forbes.com:
- ['South Park' Review: 'Doubling Down' Is The Most Insightful Episode In Years](https://www.forbes.com/sites/danidiplacido/2017/11/09/south-park-review-doubling-down-is-the-most-insightful-episode-in-years/#171864e17684)

Plot Excerpt is available on wiki:
- <a href="https://en.wikipedia.org/wiki/Doubling_Down_(South_Park)#Plot">'South Park' Season 21 Episode 7 'Doubling Down'</a>

![](http://imagecurl.com/images/04065054009291592566_thumb.jpg)

### 1.2 Table of Contents
<div class="toc"><ul class="toc-item"><li><span><a href="#Plot-Excerpt" data-toc-modified-id="Plot-Excerpt-1"><span class="toc-item-num">1&nbsp;&nbsp;</span>Plot Excerpt</a></span></li><li><span><a href="#Setting-up-Environment" data-toc-modified-id="Setting-up-Environment-2"><span class="toc-item-num">2&nbsp;&nbsp;</span>Setting up Environment</a></span></li><li><span><a href="#Sentiment-Analysis-with-Amazon-Comprehend" data-toc-modified-id="Sentiment-Analysis-with-Amazon-Comprehend-3"><span class="toc-item-num">3&nbsp;&nbsp;</span>Sentiment Analysis with Amazon Comprehend</a></span><ul class="toc-item"><li><span><a href="#One-text-line" data-toc-modified-id="One-text-line-3.1"><span class="toc-item-num">3.1&nbsp;&nbsp;</span>One text line</a></span></li><li><span><a href="#One-One-line" data-toc-modified-id="One-One-line-3.2"><span class="toc-item-num">3.2&nbsp;&nbsp;</span>One One line</a></span></li><li><span><a href="#On-one-movie-review-document" data-toc-modified-id="On-one-movie-review-document-3.3"><span class="toc-item-num">3.3&nbsp;&nbsp;</span>On one movie review document</a></span></li></ul></li><li><span><a href="#Conclusion" data-toc-modified-id="Conclusion-4"><span class="toc-item-num">4&nbsp;&nbsp;</span>Conclusion</a></span></li><li><span><a href="#References" data-toc-modified-id="References-5"><span class="toc-item-num">5&nbsp;&nbsp;</span>References</a></span></li></ul></div>


## 2. Sentiment Analysis with Google Cloud Platform (GCP)

### 2.1 About
In this notebook, I used GCP to implement sentiment analysis on viewer comments about grandpa Rick.
![](https://images7.alphacoders.com/633/thumb-1920-633262.png)

### 2.2 Table of Contents
<div class="toc"><ul class="toc-item"><li><span><a href="#Setting-Up" data-toc-modified-id="Setting-Up-1"><span class="toc-item-num">1&nbsp;&nbsp;</span>Setting Up</a></span><ul class="toc-item"><li><span><a href="#Create-a-service-account" data-toc-modified-id="Create-a-service-account-1.1"><span class="toc-item-num">1.1&nbsp;&nbsp;</span><a href="https://console.cloud.google.com/apis/credentials/serviceaccountkey?_ga=2.11759798.-323970793.1520889464" target="_blank">Create a service account</a></a></span></li><li><span><a href="#Open-terminal-and-type-the-following-command" data-toc-modified-id="Open-terminal-and-type-the-following-command-1.2"><span class="toc-item-num">1.2&nbsp;&nbsp;</span>Open terminal and type the following command</a></span></li><li><span><a href="#Verifying-authentication" data-toc-modified-id="Verifying-authentication-1.3"><span class="toc-item-num">1.3&nbsp;&nbsp;</span><a href="https://cloud.google.com/docs/authentication/getting-started#auth-cloud-implicit-python" target="_blank">Verifying authentication</a></a></span></li></ul></li><li><span><a href="#Importing-packages" data-toc-modified-id="Importing-packages-2"><span class="toc-item-num">2&nbsp;&nbsp;</span>Importing packages</a></span></li><li><span><a href="#Sentiment-Analysis" data-toc-modified-id="Sentiment-Analysis-3"><span class="toc-item-num">3&nbsp;&nbsp;</span>Sentiment Analysis</a></span></li></ul></div>

0 comments on commit f501992

Please sign in to comment.