Skip to content

alpha version 0

Latest

Choose a tag to compare

@sabyasachee sabyasachee released this 01 Apr 07:41
· 14 commits to master since this release

First test of release version

parse_scripts_noindent.py

  • v1.1 2a8fb29
    1. improved metadata detection
    • expanded list from "BLACK" to include multiple phrases
    • word-level check instead of line-level
    1. streamlined scene boundary, transition detection
  • v1.0 975fbd9
    1. Parser that does not rely on indentations as feature
    2. class detection rules
    • metadata: lines preceding first instance of the line "BLACK"
    • scene boundary: lines containing "INT." or "EXT."
    • character: uppercase lines, preceded by newline, followed by text
    • dialogue: lines immediately following character
    • dialogue metadata: words in character or dialogue that are enclosed within parentheses; assume single instance each time
    • transition: lines containing "CUT TO"
    • scene description: all remaining lines
    1. outputs two versions of tagged lines
    • each line with its corresponding tag
    • only character=>dialogue lines