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]:
'john_carter_2012'
InĀ [3]:
film_obj = load_film_object(film_id)
film_obj.print_info()
*Film Information*
Title, Release Year: John Carter (2012)
File Runtime: 02:12:00
Film Runtime (No Credits): 2:01:14

*Technical Details*
Aspect Ratio: 2.39
Avg. Shot Duration: 8.30
Avg. Brightness: 64
Avg. Contrast: 37

*Dialogue Cadence*
Sentences Per Minute: 10
Words Per Sentence 5.15
Questions Per Minute: 1.10
Pct. Questions: 11%

*Emotion*
Pct. Upset Faces: 67%
Laughs Per Minute: 0.07
Profanity Per Minute: 0.04
Words Per Profanity: 1291
Exclamations Per Minute: 1.96
InĀ [4]:
print(len(film_obj.scene_objects))
film_obj.display_scenes()
4
No description has been provided for this image
*Plot Context*
Context Themes: Counter({'justice': 14})
Potential Other Locations: Counter({'jail cell': 14})
Descriptors: ['indoors', 'standing']
Held Items: Counter({'piece of wood': 5, 'stick': 2, 'pole': 2, 'piece': 2, 'object': 1})
Active Actions: Counter({'turned': 2, 'lit': 2})
No description has been provided for this image
*Plot Context*
Establishing Shot Locations: Counter({'building': 6})
Named Participants: Counter({'john carter': 1, 'professor': 1, 'virginia': 1})
Descriptors: ['standing']
No description has been provided for this image
*Plot Context*
Descriptors: ['indoors', 'standing', 'crowded']
No description has been provided for this image
*Plot Context*
Potential Other Locations: Counter({'city': 3})
Descriptors: ['indoors', 'standing']
Active Actions: Counter({'lit': 2})
Out[4]:
[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()
No description has been provided for this image
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()
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
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 am Dejah Thoris, regent of the Royal Helium Academy of Science.
No description has been provided for this image
My name is John Carter.
No description has been provided for this image
See, my name is John Carter.
No description has been provided for this image
My name is John Carter.
No description has been provided for this image
See, my name is John Carter.
InĀ [15]:
film_obj.display_other_intros()