Patent attributes
Systems, devices, and methods discussed herein provide improved autonomous agent applications that are configured to generate a diagnosis for input symptoms from labels (e.g., diseases, illnesses, and/or conditions) associated with previously-known cases. Extended discourse trees may be generated that identify multiple discourse trees corresponding to various fragment granularities (e.g., document, paragraph, sentence, phrase, word, etc.) of previously-known cases as well as rhetorical relations between those discourse trees. New symptoms can be provided (e.g., via the autonomous agent) as input. The input can be parsed to identify various fragments of the input and rhetorical relations between the fragments. These fragments can be matched to fragments of previously-known cases by matching nodes of the extended discourse tree. If the rhetorical relations between the input fragments match the rhetorical relations indicated in the extended discourse tree of a previously-known cases, the input may be classified with the same label as those previously-known cases.