{'fraction_non_alphanumeric': 0.02536997885835095, 'fraction_numerical': 0.0, 'mean_word_length': 5.81294964028777, '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}}
From "Hand-Written" to Computationally Implemented HPSG Theories

The process of turning a “hand-written” HPSG theory into a working computational grammar requires complex considerations. Two leading platforms are available for implementing HPSG grammars: The LKB and TRALE. These platforms are based on different approaches, distinct in their underlying logics and implementation details. This paper adopts the perspective of a computational linguist whose goal is to implement an HPSG theory. It focuses on ten different dimensions, relevant to HPSG grammar implementation, and examines, compares, and evaluates the different means which the two approaches provide for implementing them. The paper concludes that the approaches occupy opposite positions on two axes: FAITHFULNESS to the “hand-written” theory andCOMPUTATIONAL ACCESSIBILITY. The choice between them depends largely on the grammar writer’s preferences regarding those properties.