Module ImportFrom alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad Str attr FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad Str attr body For TupleStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad body If UnaryOpNot NameLoad body Expr Yield Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad Print Call AttributeLoad NameLoad attr keyword Str
N/A itertools groupby N/A re xml.dom.minidom Document N/A text N/A N/A N/A open C:\texts\midsummer_nights_dream_gut.txt read paragraphs N/A N/A lines is_separator joiner N/A N/A str isspace N/A join N/A N/A N/A separator_group lineiter N/A groupby lines key is_separator N/A N/A N/A separator_group N/A N/A N/A N/A joiner lineiter N/A scene_node N/A N/A scene N/A N/A N/A docText N/A docText N/A N/A doc createElement div N/A N/A N/A docText setAttribute type scene N/A N/A N/A docText setAttribute id N/A N/A N/A tei appendChild docText N/A acts N/A N/A scene split ACT N/A N/A N/A act_node acts N/A docText N/A act_node N/A N/A act N/A N/A N/A actText N/A actText N/A N/A doc createElement div N/A N/A N/A actText setAttribute type act N/A N/A N/A actText setAttribute id N/A N/A N/A docText appendChild actText N/A p N/A paragraphs N/A N/A act splitlines True N/A N/A N/A speech_node p N/A actText N/A speech_node N/A N/A speech N/A N/A N/A para N/A N/A doc createElement p N/A N/A N/A actText appendChild para N/A ptext N/A N/A doc createTextNode speech N/A N/A N/A para appendChild ptext N/A speech N/A N/A doc N/A Document N/A tei N/A N/A doc createElement body N/A N/A N/A doc appendChild tei N/A front_matter N/A N/A doc createElement front N/A N/A N/A tei appendChild front_matter N/A textStr N/A N/A text split SCENE N/A N/A N/A scene_node textStr N/A N/A N/A doc toprettyxml indent