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]:
'prom_night_2008'
InĀ [3]:
film_obj = load_film_object(film_id)
film_obj.print_info()
*Film Information*
Title, Release Year: Prom Night (2008)
File Runtime: 01:29:10
Film Runtime (No Credits): 1:24:27

*Technical Details*
Aspect Ratio: 2.35
Avg. Shot Duration: 7.66
Avg. Brightness: 45
Avg. Contrast: 37

*Dialogue Cadence*
Sentences Per Minute: 14
Words Per Sentence 5.22
Questions Per Minute: 2.12
Pct. Questions: 15%

*Emotion*
Pct. Upset Faces: 65%
Laughs Per Minute: 0.05
Profanity Per Minute: 0.15
Words Per Profanity: 470
Exclamations Per Minute: 1.68
InĀ [4]:
print(len(film_obj.scene_objects))
film_obj.display_scenes()
7
No description has been provided for this image
*Plot Context*
Context Themes: Counter({'transit': 89, 'driving': 89})
Potential Common Locations: Counter({'car': 89})
Descriptors: ['sitting']
Left Wearing: Counter({'white jacket': 13})
No description has been provided for this image
*Plot Context*
Descriptors: ['indoors', 'sitting']
Held Items: Counter({'cell phone': 3})
No description has been provided for this image
*Plot Context*
No description has been provided for this image
*Plot Context*
Descriptors: ['indoors', 'sitting']
Held Items: Counter({'hands together': 5, 'cell phone': 2})
Active Actions: Counter({'crossed': 4})
Right Wearing: Counter({'brown jacket': 1})
No description has been provided for this image
*Plot Context*
Context Themes: Counter({'dining': 10, 'drinking': 4})
Potential Common Locations: Counter({'restaurant': 10, 'bar': 4})
Descriptors: ['indoors']
Right Wearing: Counter({'white shirt': 25})
No description has been provided for this image
*Plot Context*
Context Themes: Counter({'fancy': 10})
Establishing Shot Locations: Counter({'bus': 2})
Named Participants: Counter({'all': 1, 'crissy': 1})
Descriptors: ['indoors', 'standing']
Active Actions: Counter({'make': 1})
Left Wearing: Counter({'dress': 2})
Right Wearing: Counter({'suit': 23})
No description has been provided for this image
*Plot Context*
Context Themes: Counter({'intimacy': 1})
Establishing Shot Locations: Counter({'building': 2})
Named Participants: Counter({'hicks': 1})
Descriptors: ['indoors']
Active Actions: Counter({'kissing': 1})
Out[4]:
[None, None, None, None, None, None, None]
InĀ [5]:
film_obj.chart_all_dialogue_emotional_indicators()
No description has been provided for this image
InĀ [6]:
film_obj.chart_all_dialogue_shape()
No description has been provided for this image
InĀ [7]:
film_obj.chart_all_dialogue_question_proportion()
No description has been provided for this image
InĀ [8]:
film_obj.display_color_shots()
No description has been provided for this image
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()
No description has been provided for this image
InĀ [11]:
if rand_scene:
    rand_scene.display_second_p_address_frames()
No description has been provided for this image
InĀ [12]:
film_obj.display_laughs()
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
Out[12]:
[]
InĀ [13]:
film_obj.display_unintelligible_language()
InĀ [14]:
film_obj.display_self_intros()
No description has been provided for this image
I'm Detective Nash with the Bridgeport Police Department.
No description has been provided for this image
I'm Detective Nash.
InĀ [15]:
film_obj.display_other_intros()