Automated Screenplay Annotation for Extracting Storytelling Knowledge David R

Automated Screenplay Annotation for Extracting Storytelling Knowledge David R

The AIIDE-17 Workshop on Intelligent Narrative Technologies WS-17-20 Automated Screenplay Annotation for Extracting Storytelling Knowledge David R. Winer,1 R. Michael Young2 1,2School of Computing 2Entertainment Arts and Engineering Program University of Utah Salt Lake City, UT 84112 [email protected], [email protected] Abstract scenarios and genres. In this paper, we introduce the elements of screenplays, Narrative screenplays follow a standardized format for reveal our strategy for parsing these elements, and discuss their parts (e.g., stage direction, dialogue, etc.) includ- the progress of this project including results on parsing ing short descriptions for what, where, when, and how raw screenplays from the Internet Movie Script Database to film the events in the story (shot headings). We cre- 1 ated a grammar based on the syntax of shot headings to (IMSDb) whose annotations are made available for subse- extract this and other discourse elements for automatic quent research (Winer 2017). Then, we present our approach screenplay annotation. We test our annotator on over a for extracting storytelling knowledge using the parser’s out- thousand raw screenplays from the IMSDb screenplay put in the context of our high-level vision for narrative un- corpus and make the output available for narrative in- derstanding. telligence research. Related Work Expert knowledge for storytelling is difficult to formal- ize and hand-code, causing an authorial bottleneck problem The idea of leveraging the standardized format of screen- (Valls-Vargas, Zhu, and Ontanon 2016; Riedl and Sugandh plays is not new. Jhala (2008) proposes automating movie 2008). Despite a long research history of encoding commu- script annotations, citing the conventions and standard struc- nicative knowledge as actions (Cohen and Perrault 1979; ture of movie scripts as motivation for extracting the wealth Young and Moore 1994; Jhala and Young 2010), it isn’t of information they contain. An early approach by Vassiliou widely practiced in storytelling and resources are lim- (2006) describes grammar-based templates for extracting ited. Recent work with information extraction has shown categories of events in screenplays such as scene changes, progress for informing narrative models from unannotated changes to location, and non-verbal communication. Scene narrative text (Chambers and Jurafsky 2008; Goyal, Riloff, changes are detected by first locating the words day or night, and Daume´ III 2010; Valls-Vargas, Zhu, and Ontanon 2016) then search left for INT or EXT (and label everything be- and from crowdsourced examples (Li et al. 2013). However, tween INT/EXT and day/night as a location). More recently, these models are still impoverished in the kinds of features Agarwal and colleagues (2014) experiment with machine they use related to communication and scene-structure (e.g., learning approaches for classifying each line in a screen- sentiment analysis (Li et al. 2014; Reagan et al. 2016)). play as either a scene boundary, stage direction, character name, dialogue, or transition. They show machine learning Screenplays (film scripts) are unusual for narrative text approaches perform better than a rule-based approach, citing because they contain more structured discourse information difficulty in the rule-based approach for detecting shot head- (Jhala 2008) than other narrative texts such as news sto- ings when there is no INT/EXT present or when the heading ries (Chambers and Jurafsky 2008) or fables (Goyal, Riloff, is not capitalized. and Daume´ III 2010; Valls-Vargas, Zhu, and Ontanon 2016) We found two main areas of research that have published which have received more attention. Screenplays follow a on extracting character dialogue from screenplays. standardized format for their parts (e.g., stage direction, di- alogue, etc.) including short descriptions for what, where, • In computational social science, the evolution of charac- when, and how to film the events in the story (shot head- ter relationships in screenplays are mapped to a computa- ings). According to The Hollywood Standard (Riley 2009), tional model of social networks using features like scene an authoritative guide to screenplay writing, these shot head- co-occurrence and sentiment analysis (Qu et al. 2015). ings follow a rigid syntax which we’ve formalized and im- Tsoneva and colleagues (2007) use these networks to help plemented as part of a screenplay parser. There are many automatically summarize movies. They segment screen- screenplays available online potentially provide a wealth of plays by shot headings and extract speaker - dialogue information to inform a model of storytelling for different pairs for each segment, but do not use information em- bedded in the shot headings. Copyright c 2017, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved. 1www.imsdb.com 273 α A master shot heading starts with a setting, and then may finish with a time of day, such as: INT. CENTRAL PARK - DAY T Loc Type Subj ToD Shot types may be followed by a hyphen or a preposition indicating the way the shot is capturing the subject, such as ”CLOSE - X” vs. ”CLOSE ON X”. Also, each piece of information may include ”modifiers” (words or dates which appear in parentheses). Figure 1: Simplified shot heading automata starting at α EXT. WHITE HOUSE - SOUTH LAWN - CLOSE ON CNN CORRESPONDENT - SUNSET (MARCH • In conversational dialogue systems, character dialogue is 15, 1999) used to train models for dialogue agents. Walker and col- leagues (2012) annotate dialogue from the IMSDb corpus The use of INDY’S RUN in the following example from to characterize and learn conversational personas for story Indiana Jones and the Raiders of the Lost Ark (Kasdan and characters. Li and colleagues (2016) use character dia- Lucas 1981) is unconventional because actions do not typi- logue and subtitles in television series transcripts to train cally appear in shot headings, and only locations would ap- speaker consistency in open-domain conversation. pear before a shot type, so INDY’S RUN should be inter- Also relevant is the Movie Script Markup Language preted as a sub-location of THE JUNGLE. (Van Rijsselbergen et al. 2009) which was developed to computerize screenplays to facilitate interactive collabora- EXT. THE JUNGLE - INDY’S RUN - CLOSE tion among the various parties involved with producing film; ANGLE - DAY it is a language for creating screenplays which handles the story logic and other internal pragmatics of shooting film. Shot headings can also start with a shot type: Screenplay Elements WIDE SHOT - RACETRACK AND EMPTY STANDS There are 4 basic format elements in screenplays (Riley sometimes on its own: 2009): 1. Shot Headings - begins each new scene or shot, and may TRACKING SHOT give general information about a scene’s location, type of shot, subject of shot, or time of day or the header can start with a time of day on its own: 2. Direction - what is being seen or heard within the shot or scene, may also include words or phrases in caps DEAD OF NIGHT 3. Dialogue - name of character and actual words which are or include just a subject of the shot: spoken, including parenthetical character direction related to the dialogue RUDOLF 4. Transitions - may appear at end of scene, indicates how one scene links to the next Master shot headings are sometimes interpreted as the be- ginning of a scene, whereas other shot headings (without a Shot Headings setting) are sub-scenes. According to The Hollywood Standard (Riley 2009), an au- thoritative reference for screenplay formatting, shot head- Grammar We created a grammar which models the syn- tax of a shot heading according to our best interpretation of ings can include up to five pieces of information: The Hollywood Standard (Riley 2009): 1. INT., EXT., or INT./EXT (interior or exterior) α → Scene | Shot | SUB | (ST + Opt−ToD ) 2. Location (increasingly more specific locations separated Scene → Setting + Opt−Shot by hyphens) Setting → T + Opt−H + place + Loc 3. Shot type (e.g., TRACKING, MED. SHOT, ANGLE ON) T → ‘INT . ’ | ‘EXT. ’ | ‘INT . / EXT. ’ Shot → ST + Opt−P + SUB 4. Subject of the shot (a person, a place, an object, etc.) Loc → ‘−’ + ( Loc | place ) + Opt−M 5. Time of day (e.g., a date, NOON, DEAD OF NIGHT, etc.) SUB → Subj + Opt−ToD Subj → ( place | person | obj ) + Opt−M We cover how these elements are combined (see Figure ToD → time + Opt−M 1 for a simplified automata representing how these elements ST → type + Opt−M are combined). For simplicity, the first two pieces of infor- Mod → ‘( ’ + WORDS digits + ‘) ’ mation will henceforth be called the setting. Opt−Shot → (‘− ’ + ( Shot | ToD ) ) |{} 274 Opt−M → Mod |{} Opt−P → Opt−H | prep and Opt−ToD → (‘− ’+ToD) |{} Opt−H → ‘−’ |{} The fat lady opens her mouth to sing. prep ∈{“on, “with”, “to”, “towards”, “from”, “in”, “un- der”, “over”, “above”, “around”, “into”} MATCH CUT TO: type ∈ set with enumerated shot types place, person, obj, time → names or expressions LITTLE SALLY SALTER In-Line Caps A dissolve is a gradual transition from one image to an- Some words in stage direction are capitalized which we other which may imply a passage of time or entering into a refer to as in-line caps; in a subset of cases, this notation character’s imagination (Riley 2009). indicates that the word or words in caps are an entity played by an actor/actress appearing on screen for the first time in Dialogue the film and indicates they will have some dialogue. Other Dialogue has distinctive indenting. This example is from reasons for using in-line caps are to describe sound effects Indiana Jones and the Raiders of the Lost Ark (Kasdan and or off-screen sounds (including the thing that makes the Lucas 1981): sound) or for denoting camera actions that appear in stage direction. As Riley (2009) points out, a new shot heading As the mine car is about to disappear isn’t necessary for camera movements such as panning or into the tunnel - zooming.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us