Data supplement for: Did the language of medieval inquisition records become richer over time? A diachronic lexical richness perspective on heresy trial proceedings from Languedoc and Italy, 1231–1400
收藏资源简介:
This repository contains datasets and code supporting the findings of the study named in the title. The deposit includes: README.md: A more detailed description of the repository. heresy_inquisition_registers_with_metadata.csv: Table with all registers used in the study (Table 1 in the manuscript), including their names, token counts, relevant metadata, and lexical richness scores. OLS_output.txt: Full output with all values from fitting the OLS models during the regression analysis. OLS_sessioninfo.txt: Data on imported libraries used in the regression analysis. register_richness_ranking.csv: Table with all registers used in the study after filtering, ranked by lexical richness composite z-score as described in the comparative analysis section (Table 7). lexical_richness_stability_results.csv: Data created by the bootstrap resampling process (subsection "Bootstrap resampling"). Note that bootstrap results may vary slightly between runs, since there is no fixed random seed. The number of iterations (50) should ensure that the confidence intervals are stable. register_level_regression_lexical_richness_time_token_count.R: R script used to perform the regression analysis (Table 4 and 5). It is self-contained, requiring only the libraries listed in the session information file, as well as the input data in comma-separated values (CSV) format, heresy_inquisition_registers_with_metadata.csv, and should provide an output similar to what is contained in OLS_output.txt. supplementary_code.py: Python script used to cross-validate the custom lexical richness implementations (Gini coefficient and Zipf's α) against reference implementations in the external/ directory. All other metrics were calculated with standard package implementations. external/: A directory containing three third-party implementations of the aforementioned metrics, including their respective license files.



