-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|
||
 | ||
|
||
### 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 </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 </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 </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 </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 </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 </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 </span>Conclusion</a></span></li><li><span><a href="#References" data-toc-modified-id="References-5"><span class="toc-item-num">5 </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. | ||
 | ||
|
||
### 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 </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 </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 </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 </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 </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 </span>Sentiment Analysis</a></span></li></ul></div> |