{'fraction_non_alphanumeric': 0.01078167115902965, 'fraction_numerical': 0.0, 'mean_word_length': 5.191666666666666, '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}}
Script generation using rhetorical information in a task specification text

In order to extend the application domain of natural language interfaces to more realistic tasks without the decrease of user's performance, it is desirable for users to be able to specify their requests as coherent texts consisting of more than one sentence. This paper presents a processing model of a natural language interface that accepts such an input text. Rhetorical information in an input text is used to generate a control structure of an output script program. Detection of loop structures, paraphrasing and dialogue are also incorporated. The algorithms explained in this paper have been implemented and evaluated in a personal email management domain.