In [1]:
import sys
sys.path.append('../../')
from moviegoer.tables import film_id_from_film_directory, load_film_object
from random import choice
In [2]:
film_id = film_id_from_film_directory()
film_id
Out[2]:
'the_wedding_planner_2001'
In [3]:
film_obj = load_film_object(film_id)
film_obj.print_info()
*Film Information* Title, Release Year: The Wedding Planner (2001) File Runtime: 01:43:41 Film Runtime (No Credits): 1:38:33 *Technical Details* Aspect Ratio: 2.35 Avg. Shot Duration: 14.15 Avg. Brightness: 67 Avg. Contrast: 37 *Dialogue Cadence* Sentences Per Minute: 19 Words Per Sentence 4.96 Questions Per Minute: 2.62 Pct. Questions: 14% *Emotion* Pct. Upset Faces: 57% Laughs Per Minute: 0.09 Profanity Per Minute: 0.08 Words Per Profanity: 1169 Exclamations Per Minute: 1.17
In [4]:
print(len(film_obj.scene_objects))
film_obj.display_scenes()
17
*Plot Context*
Named Participants: Counter({'woman': 1})
Descriptors: ['indoors', 'sitting']
Active Actions: Counter({'making': 4, 'pointing': 1, 'giving': 1})
Left Wearing: Counter({'pink turtle neck sweater': 11, 'pink shirt': 9, 'pink turtle neck shirt': 1})
Right Wearing: Counter({'sweater': 3})
*Plot Context*
Context Themes: Counter({'intimacy': 1})
Establishing Shot Locations: Counter({'building': 1})
Named Participants: Counter({'maria': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'cell phone': 1})
Active Actions: Counter({'covering': 1, 'beards': 1, 'making': 1, 'kissing': 1})
Right Wearing: Counter({'brown jacket': 13})
*Plot Context*
Context Themes: Counter({'drinking': 3})
Establishing Shot Locations: Counter({'building': 23})
Named Participants: Counter({'mother': 1, 'mary': 1, 'penny': 1, 'murdoch': 1})
Descriptors: ['indoors', 'standing']
Active Actions: Counter({'drinking': 3, 'dressed': 1})
*Plot Context*
Potential Other Locations: Counter({'park': 5})
Descriptors: ['outdoors', 'sitting']
Held Items: Counter({'hands': 1})
*Plot Context*
Establishing Shot Locations: Counter({'building': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'piece of paper': 3})
*Plot Context*
Named Participants: Counter({'fran': 1})
Descriptors: ['indoors', 'standing']
Active Actions: Counter({'laughing': 2})
Right Wearing: Counter({'white sweater': 3, 'white top': 3})
*Plot Context*
Context Themes: Counter({'nature': 27})
Potential Other Locations: Counter({'forest': 27, 'road': 2})
Descriptors: ['outdoors', 'standing']
Active Actions: Counter({'laughing': 3})
*Plot Context*
Context Themes: Counter({'nature': 68, 'animal': 22})
Potential Other Locations: Counter({'forest': 68, 'park': 30, 'field': 13})
Named Participants: Counter({'mary': 2, 'teal': 1})
Descriptors: ['outdoors', 'standing']
Active Actions: Counter({'riding': 109, 'making': 4, 'laughing': 2, 'open': 1, 'petting': 1})
Right Wearing: Counter({'glasses and a brown jacket': 9, 'glasses and a brown jacket standing': 6, 'glasses and a brown jacket with a blue face': 6, 'glasses and a brown leather jacket': 1})
*Plot Context*
Context Themes: Counter({'dining': 28})
Potential Common Locations: Counter({'kitchen': 28})
Descriptors: ['indoors']
Held Items: Counter({'cell phone': 1})
Active Actions: Counter({'lit': 18})
Left Wearing: Counter({'white shirt': 15})
Right Wearing: Counter({'black top': 8, 'black shirt': 7})
*Plot Context*
Context Themes: Counter({'drinking': 7})
Named Participants: Counter({'nancy': 1, 'woman': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'bottle of beer': 7, 'bottle': 1})
Active Actions: Counter({'opening': 3})
Left Wearing: Counter({'leather jacket': 7})
*Plot Context*
Context Themes: Counter({'school': 31})
Named Participants: Counter({'mary': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'hand': 4, 'wall': 1})
Active Actions: Counter({'peeking': 1, 'making': 1, 'open': 1})
Left Wearing: Counter({'leather jacket': 32, 'black jacket': 26})
*Plot Context*
Descriptors: ['indoors', 'standing']
Active Actions: Counter({'brushing': 1})
Right Wearing: Counter({'suit': 10, 'brown jacket': 2})
*Plot Context*
Descriptors: ['indoors']
Active Actions: Counter({'pointing': 1})
Right Wearing: Counter({'suit': 24, 'brown jacket': 9})
*Plot Context*
Context Themes: Counter({'dining': 48, 'drinking': 8, 'intimacy': 1})
Potential Common Locations: Counter({'kitchen': 48})
Potential Other Locations: Counter({'doorway': 4})
Named Participants: Counter({'burt': 1, 'mary': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'box': 6, 'wine glass': 2, 'toy house': 2, 'balloon': 1, 'toy': 1, 'doll house': 1, 'model of a house': 1})
Active Actions: Counter({'lit': 8, 'drinking': 6, 'touching': 4, 'singing': 1, 'hugging': 1, 'opening': 1, 'closet': 1})
Left Wearing: Counter({'sweater': 19})
*Plot Context*
Context Themes: Counter({'transit': 7, 'driving': 7})
Potential Common Locations: Counter({'car': 7})
Potential Other Locations: Counter({'street': 2})
Descriptors: ['outdoors', 'standing']
*Plot Context*
Context Themes: Counter({'fancy': 62, 'wedding': 58})
Establishing Shot Locations: Counter({'building': 8})
Named Participants: Counter({'papa': 1})
Descriptors: ['indoors', 'standing']
Active Actions: Counter({'dressed': 15})
Left Wearing: Counter({'suit': 15})
Right Wearing: Counter({'wedding dress': 58, 'suit': 11, 'tuxedo': 4})
*Plot Context*
Context Themes: Counter({'nature': 15})
Potential Other Locations: Counter({'forest': 15})
Descriptors: ['indoors', 'standing']
Out[4]:
[None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
In [5]:
film_obj.chart_all_dialogue_emotional_indicators()
In [6]:
film_obj.chart_all_dialogue_shape()
In [7]:
film_obj.chart_all_dialogue_question_proportion()
In [8]:
film_obj.display_color_shots()
In [9]:
rand_scene = None
if film_obj.dialogue_objects:
rand_scene = choice(film_obj.dialogue_objects)
rand_scene.display_qna_frames()
In [10]:
if rand_scene:
rand_scene.display_first_p_sentence_frames()
In [11]:
if rand_scene:
rand_scene.display_second_p_address_frames()
In [12]:
film_obj.display_laughs()
Out[12]:
[]
In [13]:
film_obj.display_unintelligible_language()
MAN SHOUTING OUT IN ITALIAN
EXCLAIMS IN ITALIAN
SPEAKING ITALIAN
THANKING IN SPANISH
SPEAKING IN ITALIAN
In [14]:
film_obj.display_self_intros()
And I'm Fran.
I'm Steve Edison.
I'm Steve Edison.
I'm Steve, the doctor.
I'm Steve.
In [15]:
film_obj.display_other_intros()
Eddie, this is Mary, the wedding planner.
This is Steve Edison.