1 of 25

Corpora Application and Data Visualization: NLTK & Google Colab

Instructor:

Prof. Terri Yueh

2 of 25

Analyzing Texts and Comments of Three Different Types of Movies with Python and NLTK

507062143 吳俞希 Nani

507062038 黃紫紜 Erin

3 of 25

Outline

01

04

02

03

05

Analyze the movie texts

Conclusion

Analyze Reviews of three movies

References

  • Sentiment analysis &

10 keywords of the review

  • 10 Most Frequently Words & Word cloud
  • Most frequently occurring part of speech & data visualization

Movie Introduction

4 of 25

Movie Introduction

  • Mission: Impossible is an American action spy film released in 1996.
  • Directed by Brian De Palma.
  • Based on the popular 1966-1973 television series of the same name.
  • The Leading CHARACTER: The story revolves around Ethan Hunt, a skilled agent working for the Impossible Missions Force (IMF), a covert government agency. When an important mission goes awry, resulting in the deaths of his fellow agents.
  • With his loyalty questioned, he embarks on a dangerous journey to clear his name and uncover the truth behind the betrayal.

5 of 25

Movie Introduction

  • La La Land is a captivating and enchanting musical film that was released in 2016.
  • Written and directed by Damien Chazelle.
  • CHARACTERS: The story revolves around Mia, an aspiring actress ,and Sebastian, a passionate jazz pianist portrayed.
  • As they navigate their respective careers, they encounter each other in a series of chance meetings, eventually falling in love.
  • They face the challenges and sacrifices that come with pursuing their dreams in the competitive entertainment industry.

6 of 25

Movie Introduction

  • The Nun is a supernatural horror film released in 2018.
  • Directed by Corin Hardy.
  • The movie takes place in 1952 and follows
  • CHARACTERS: the story of a young nun named Sister Irene, who is sent by the Vatican to investigate a disturbing incident at an isolated abbey in Romania.

She is accompanied by a troubled priest, Father Burke.

  • Together, they uncover a malevolent force lurking within the abbey, embodied by a demonic nun, Valak.

7 of 25

Analyze the text of three movies

10 Most Frequently Words

Use NLTK to analyze the highest frequency words

Mission: Impossible

8 of 25

Analyze the text

Word cloud of keywords

Mission: Impossible

9 of 25

Analyze the text of three movies

La La Land

10 Most Frequently Words

Use NLTK to analyze the highest frequency words

10 of 25

Analyze the text

Word cloud of keywords

La La Land

11 of 25

Analyze the text of three movies

The Nun

10 Most Frequently Words

Use NLTK to analyze the highest frequency words

12 of 25

Analyze the text

Word cloud of keywords

The Nun

13 of 25

Most frequently occurring part-of-speech in the text

Mission: Impossible

Count the number of various parts of speech

14 of 25

Most frequently occurring part-of-speech in the text

La La Land

Count the number of various parts of speech

15 of 25

Most frequently occurring part-of-speech in the text

The Nun

Count the number of various parts of speech

16 of 25

Analyze Reviews of three movies

Mission: Impossible

Sentiment analysis: Positive/ Ten key words of the review.

17 of 25

Analyze Reviews of three movies

Mission: Impossible

Sentiment analysis: Positive/ Ten key words of the review

18 of 25

Analyze Reviews of three movies

Sentiment analysis: Positive/ Ten key words of the review.

La La Land

19 of 25

Analyze Reviews of three movies

Sentiment analysis: Positive/ Ten key words of the review.

La La Land

20 of 25

Analyze Reviews of three movies

Sentiment analysis: Positive/ Ten key words of the review.

The nun

21 of 25

Analyze Reviews of three movies

Sentiment analysis: Positive/ Ten key words of the review.

The nun

22 of 25

Conclusion

  • The words and the part-of-speech in the text can allow us to identify the type of the movies.
  • The movies under analysis have generated a diverse range of responses from the audience, indicating that they had a important impact and has provoked discussions and interpretations.

23 of 25

Colab Links

24 of 25

References

Mission: Impossible - fallout - movie reviews. Rotten Tomatoes. (n.d.). https://www.rottentomatoes.com/m/mission_impossible_fallout/reviews?type=user

The nun - movie reviews. Rotten Tomatoes. (n.d.-b). https://www.rottentomatoes.com/m/the_nun_2018/reviews?type=user

La La Land - Movie Reviews. Rotten Tomatoes. (n.d.-a). https://www.rottentomatoes.com/m/la_la_land/reviews?type=user

25 of 25

Thanks!