Rattata commited on
Commit
2aedc33
·
verified ·
1 Parent(s): 1a059de

Add screenplay format conventions

Browse files
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - screenwriting
7
+ - screenplay
8
+ - filmmaking
9
+ - nlp
10
+ - text-classification
11
+ size_categories:
12
+ - n<1K
13
+ ---
14
+
15
+ # Screenplay Format Conventions Dataset
16
+
17
+ Structured reference data describing the conventions used in Fountain and Final Draft (.fdx) screenplay formats. Useful for:
18
+
19
+ - **NLP/ML tasks** — classifying screenplay elements (scene heading, action, character cue, dialogue, parenthetical, transition)
20
+ - **AI pre-production tools** — preprocessing scripts for downstream image generation
21
+ - **Education** — teaching screenplay formatting to junior writers
22
+ - **Format converters** — building bidirectional Fountain ⇄ FDX tools
23
+
24
+ ## Files
25
+
26
+ - `element_types.json` — All screenplay element types with regex patterns and examples
27
+ - `scene_heading_grammar.json` — INT/EXT prefixes, location patterns, time of day vocabulary
28
+ - `transition_keywords.json` — Standard transition markers (CUT TO, DISSOLVE TO, FADE OUT, etc.)
29
+ - `character_cue_rules.json` — Conventions for character names, extensions (V.O., O.S., CONT'D)
30
+ - `industry_glossary.json` — Common screenwriting terms and abbreviations
31
+
32
+ ## License
33
+
34
+ CC0 — public domain.
35
+
36
+ ## Maintained by
37
+
38
+ [STORYLINER](https://www.storyliner.online) — AI storyboard generator. We use the same conventions internally to parse user-uploaded screenplays. Open-source library: [github.com/mcqx4/screenplay-parser](https://github.com/mcqx4/screenplay-parser).
character_cue_rules.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "Always uppercase, centered or left-aligned, no trailing punctuation",
3
+ "extensions": [
4
+ {
5
+ "abbreviation": "(V.O.)",
6
+ "meaning": "Voice Over \u2014 character speaking but not present"
7
+ },
8
+ {
9
+ "abbreviation": "(O.S.)",
10
+ "meaning": "Off Screen \u2014 character present but not visible in frame"
11
+ },
12
+ {
13
+ "abbreviation": "(O.C.)",
14
+ "meaning": "Off Camera \u2014 synonym for O.S."
15
+ },
16
+ {
17
+ "abbreviation": "(CONT'D)",
18
+ "meaning": "Continued \u2014 same character speaks across an action break"
19
+ },
20
+ {
21
+ "abbreviation": "(FILTERED)",
22
+ "meaning": "Voice heard through phone, radio, intercom"
23
+ },
24
+ {
25
+ "abbreviation": "(SUBTITLED)",
26
+ "meaning": "Speech in foreign language with on-screen translation"
27
+ }
28
+ ],
29
+ "examples": [
30
+ "MARIA",
31
+ "MARIA (V.O.)",
32
+ "DETECTIVE COLE (O.S.)",
33
+ "MARIA (CONT'D)"
34
+ ],
35
+ "rules": [
36
+ "Names always uppercase",
37
+ "Extensions in parentheses follow the name",
38
+ "Multiple extensions: outer-most usually voice context (V.O./O.S.), inner CONT'D"
39
+ ]
40
+ }
element_types.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "scene_heading",
4
+ "fountain_pattern": "^(INT|EXT|INT/EXT|I/E)[. ].*",
5
+ "fdx_paragraph_type": "Scene Heading",
6
+ "example": "INT. APARTMENT - DAY",
7
+ "description": "Marks the start of a scene with location and time."
8
+ },
9
+ {
10
+ "type": "action",
11
+ "fdx_paragraph_type": "Action",
12
+ "fountain_pattern": "default-prose",
13
+ "example": "Maria enters the room, holding the letter.",
14
+ "description": "Visual description of what the camera sees."
15
+ },
16
+ {
17
+ "type": "character",
18
+ "fountain_pattern": "^[A-Z][A-Z0-9 .,()'-]+$",
19
+ "fdx_paragraph_type": "Character",
20
+ "example": "MARIA",
21
+ "description": "Character name preceding dialogue. Always uppercase."
22
+ },
23
+ {
24
+ "type": "dialogue",
25
+ "fountain_pattern": "after-character-cue",
26
+ "fdx_paragraph_type": "Dialogue",
27
+ "example": "I'm not going back.",
28
+ "description": "Spoken text following a character cue."
29
+ },
30
+ {
31
+ "type": "parenthetical",
32
+ "fountain_pattern": "^\\([^)]+\\)$",
33
+ "fdx_paragraph_type": "Parenthetical",
34
+ "example": "(softly)",
35
+ "description": "Modifier directly below character cue, in parentheses."
36
+ },
37
+ {
38
+ "type": "transition",
39
+ "fountain_pattern": "^[A-Z ]+TO:$",
40
+ "fdx_paragraph_type": "Transition",
41
+ "example": "CUT TO:",
42
+ "description": "Indicates how to move between scenes. Right-aligned in print."
43
+ },
44
+ {
45
+ "type": "shot",
46
+ "fdx_paragraph_type": "Shot",
47
+ "fountain_pattern": "uppercase-no-cue",
48
+ "example": "ANGLE ON HANDS",
49
+ "description": "Specifies a camera angle or shot mid-scene."
50
+ },
51
+ {
52
+ "type": "title",
53
+ "fdx_paragraph_type": "General",
54
+ "fountain_pattern": "title-block-header",
55
+ "example": "Title: NIGHTSHIFT\\nAuthor: J. Smith",
56
+ "description": "Top-of-script metadata block (Fountain only)."
57
+ }
58
+ ]
industry_glossary.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "term": "Beat",
4
+ "definition": "A pause in dialogue, or a unit of dramatic action"
5
+ },
6
+ {
7
+ "term": "Cold Open",
8
+ "definition": "Opening scene before the title sequence"
9
+ },
10
+ {
11
+ "term": "Logline",
12
+ "definition": "One-sentence summary of the script"
13
+ },
14
+ {
15
+ "term": "Spec Script",
16
+ "definition": "Script written on speculation, without commission"
17
+ },
18
+ {
19
+ "term": "Page-One Rewrite",
20
+ "definition": "Complete rewrite from scratch keeping only the concept"
21
+ },
22
+ {
23
+ "term": "Beat Sheet",
24
+ "definition": "Outline of the major story beats before drafting"
25
+ },
26
+ {
27
+ "term": "Treatment",
28
+ "definition": "Prose summary of the plot, usually 2-30 pages"
29
+ },
30
+ {
31
+ "term": "Storyboard",
32
+ "definition": "Sequential visual breakdown of a script, one panel per intended shot"
33
+ },
34
+ {
35
+ "term": "Shot List",
36
+ "definition": "Detailed inventory of every camera setup needed for a scene"
37
+ },
38
+ {
39
+ "term": "Sides",
40
+ "definition": "Excerpt of a script for audition or shooting day"
41
+ },
42
+ {
43
+ "term": "Slug Line",
44
+ "definition": "Another name for scene heading"
45
+ },
46
+ {
47
+ "term": "Coverage",
48
+ "definition": "Multiple camera setups providing editing options for a scene"
49
+ },
50
+ {
51
+ "term": "Master Shot",
52
+ "definition": "Wide shot capturing entire scene; safety footage"
53
+ },
54
+ {
55
+ "term": "Pickup",
56
+ "definition": "Re-shot piece of action, sometimes for technical issues"
57
+ }
58
+ ]
scene_heading_grammar.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prefixes": [
3
+ "INT.",
4
+ "EXT.",
5
+ "INT./EXT.",
6
+ "EXT./INT.",
7
+ "I/E."
8
+ ],
9
+ "prefix_meanings": {
10
+ "INT.": "Interior \u2014 inside a building or enclosed space",
11
+ "EXT.": "Exterior \u2014 outside",
12
+ "INT./EXT.": "Both \u2014 typically a car interior visible through windows",
13
+ "I/E.": "Shorthand for INT./EXT."
14
+ },
15
+ "time_of_day_keywords": [
16
+ "DAY",
17
+ "NIGHT",
18
+ "MORNING",
19
+ "EVENING",
20
+ "DAWN",
21
+ "DUSK",
22
+ "AFTERNOON",
23
+ "CONTINUOUS",
24
+ "LATER",
25
+ "MOMENTS LATER",
26
+ "SAME TIME",
27
+ "THE NEXT DAY",
28
+ "FLASHBACK",
29
+ "PRESENT DAY",
30
+ "MAGIC HOUR"
31
+ ],
32
+ "structure": "PREFIX. LOCATION - TIME_OF_DAY",
33
+ "examples": [
34
+ "INT. DINER - 3 AM",
35
+ "EXT. STREET - CONTINUOUS",
36
+ "INT./EXT. CAR (MOVING) - DAY",
37
+ "EXT. ROOFTOP - MAGIC HOUR"
38
+ ]
39
+ }
transition_keywords.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "standard": [
3
+ {
4
+ "keyword": "CUT TO:",
5
+ "meaning": "Hard cut to next scene (default; often omitted)"
6
+ },
7
+ {
8
+ "keyword": "DISSOLVE TO:",
9
+ "meaning": "Soft cross-fade transition"
10
+ },
11
+ {
12
+ "keyword": "SMASH CUT TO:",
13
+ "meaning": "Abrupt cut with sound or visual punch"
14
+ },
15
+ {
16
+ "keyword": "MATCH CUT TO:",
17
+ "meaning": "Cut between shots that share composition/motion"
18
+ },
19
+ {
20
+ "keyword": "FADE IN:",
21
+ "meaning": "Open from black; typically the first line of a script"
22
+ },
23
+ {
24
+ "keyword": "FADE OUT.",
25
+ "meaning": "Close to black; typically the last line of a script"
26
+ },
27
+ {
28
+ "keyword": "WIPE TO:",
29
+ "meaning": "One image wipes off-screen to reveal next"
30
+ },
31
+ {
32
+ "keyword": "INTERCUT WITH:",
33
+ "meaning": "Alternate between two scenes happening simultaneously"
34
+ }
35
+ ],
36
+ "formatting": "Right-aligned in standard screenplay format. Typically uppercase with trailing colon.",
37
+ "notes": "Modern screenplays often omit explicit transitions and rely on the editor."
38
+ }