Youtube Sentiment Analysis with Amazon Comprehend

Matheus Schmitz
LinkedIn
Github Portfolio

Installing and Loading Packages

Installing ffmpeg:

https://stackoverflow.com/questions/30770155/ffprobe-or-avprobe-not-found-please-install-one

Configurating the AWS Client

Run on terminal: aws configure

Input the values for:

Extracting Audio and Text from Youtube Videos

Downloading and Preparing Data

Here are 5 famous speeches available on Youtube that will be used:

1- Martin Luther King Jr., "I Have a Dream"

2- John F. Kennedy, "The Decision to Go to the Moon"

3- Winston Churchill, "We Shall Fight on the Beaches"

4- Ronald Reagan, "Remarks at the Brandenburg Gate"

5- General Douglas MacArthur, "Duty, Honor, Country"

Storing Videos on Amazon S3

Transcribing the Text in the Audio Files with Amazon Transcribe

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transcribe.html

https://docs.aws.amazon.com/pt_br/transcribe/latest/dg/API_StartTranscriptionJob.html

https://docs.aws.amazon.com/pt_br/transcribe/latest/dg/API_Media.html

Comparing the Amazon Comprehend Transcription with the SpaCy Transcription

To verify the quality of the transcription generated with Amazon Transcribe, comparing it with the transcription obtained from SpaCy.

Topic Modeling and Named Entity Recognition

Sentiment Analysis with Amazon Comprehend

Visualize the Results from Sentiment Analysis

End

Matheus Schmitz
LinkedIn
Github Portfolio