{'fraction_non_alphanumeric': 0.01037344398340249, 'fraction_numerical': 0.0006915629322268327, 'mean_word_length': 5.264069264069264, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A shape grammar for the building-type definition of the ancient Greek and Roman library and the evaluation of library plans

Abstract This paper presents in detail a parametric shape grammar for the generation of ancient Greek and Roman library plans. Ancient Libraries showcase a significant variability of scale, monumentality, and design with the use of different architectural components, and researchers cannot identify them as easily as other building types. The grammar is in 2D and captures all the variability of libraries from the simpler forms of the Hellenistic period to the more monumental of the Roman period, creating a vast range of designs. The paper presents the grammar-generated plans of the known libraries based on the evidence in the archaeological record. A frequency analysis of the occurrence of the rules in the derivations ranks the different characteristics of libraries and the architectural forms with which they occur in the corpus, to determine the probability of specific rules and to interpret them as mandatory or optional. The contribution of this work is that the shape grammar summarizes the design principles of ancient libraries visually and helps establish the building type of the ancient library. The frequency analysis assists tremendously in the reconstruction of fragmentarily preserved ancient libraries by providing a system in the reconstruction of the missing parts, when ambiguity is involved.