Log in

HCMC Journal

State of the Comédie-Française Project

: Deniz Aydin
Minutes: 10

This project includes information in one chief repository, which can be found on our GitHub page. The JsonToXmlProsopography in generate_prosopography.py class provides functionality to convert JSON data into an XML format, specifically designed for managing comedian and author data in a structured TEI (Text Encoding Initiative) XML format. This class is intended to be used to convert JSON files representing comedians and authors into a prosopography XML file located at output/prosopography.xml from root when run. Similarly, there is a JsonToXmlPlays class in generate_plays.py which converts JSON files representing authors and plays into an XML file of output/plays.xml when run.

Methods in the JsonToXmlProsopography class:

parse_comedians_jsons():

Functionality:

create_comedian_code():

Functionality:

Methods in the JsonToXmlPlays class:

parse_comedians_jsons()

Functionality:

create_title_code(title_string, item, seen_title)

Functionality:

create_cast_member_code(title_code, comedian_string, cast_item, seen_name)

Functionality: