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]:
'playing_with_fire_2019'
In [3]:
film_obj = load_film_object(film_id)
film_obj.print_info()
*Film Information* Title, Release Year: Playing With Fire (2019) File Runtime: 01:35:58 Film Runtime (No Credits): 1:30:46 *Technical Details* Aspect Ratio: 1.78 Avg. Shot Duration: 9.00 Avg. Brightness: 62 Avg. Contrast: 38 *Dialogue Cadence* Sentences Per Minute: 21 Words Per Sentence 4.77 Questions Per Minute: 2.66 Pct. Questions: 12% *Emotion* Pct. Upset Faces: 53% Laughs Per Minute: 0.78 Profanity Per Minute: 0.00 Words Per Profanity: 0 Exclamations Per Minute: 3.45
In [4]:
print(len(film_obj.scene_objects))
film_obj.display_scenes()
4
*Plot Context*
Establishing Shot Locations: Counter({'bus': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'control': 1})
Active Actions: Counter({'making': 2, 'pointing': 1})
*Plot Context*
Named Participants: Counter({'zoey': 2, 'jake': 1, 'both': 1})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'hammer': 2})
Active Actions: Counter({'covered': 33, 'balding': 5, 'shaved': 3})
*Plot Context*
Context Themes: Counter({'nature': 24})
Potential Other Locations: Counter({'forest': 24})
Named Participants: Counter({'brynn': 2, 'both': 1})
Descriptors: ['outdoors', 'sitting']
Held Items: Counter({'family': 14})
Active Actions: Counter({'smile': 5})
*Plot Context* Descriptors: ['indoors', 'standing']
Out[4]:
[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()
SPEAKING SPANISH
In [14]:
film_obj.display_self_intros()
In [15]:
film_obj.display_other_intros()
This is Captain Mark Rogers.
This is Superintendent Jake Carson of Redding Depot, Region Five.
This is Superintendent Jake Carson of Redding Depot, Region Five.