{'fraction_non_alphanumeric': 0.006906077348066298, 'fraction_numerical': 0.004143646408839779, 'mean_word_length': 5.359649122807017, '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}}
Poetry generation for Bahasa Indonesia using a constraint satisfaction approach

This paper describes work on a poetry generator that is capable of generating poems in Indonesian based on certain contexts by employing a constraint satisfaction approach. The system retrieves language resources such as templates and slot fillers and combines them to instantiate poetry lines, which in turn are composed into poems based on a set of given constraints. The output of this system was evaluated through an online questionnaire involving 180 respondents. The results showed that poems generated using the full set of constraints were consistently measured better on all aspects than those generated using loose or no constraints.