{'fraction_non_alphanumeric': 0.020930232558139535, 'fraction_numerical': 0.004651162790697674, 'mean_word_length': 5.644787644787645, '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}}
Patterns in Cognitive Rehabilitation of Traumatic Brain Injury Patients: A Text Mining Approach

Traumatic Brain Injury (TBI) is a leading cause of disability worldwide, there is one TBI case every 15 seconds and in every 5 minutes someone becomes permanently disabled due to it. Brain injuries lack of surgical or pharmacological therapies, therefore Cognitive Rehabilitation (CR) is the generally adopted treatment. Computerized CR tasks are increasingly replacing traditional "paper and pencil" approaches. Nevertheless, CR plans are manually designed by clinicians from scratch based on their own experience. There is very little research on the amount and type of practice that occurs during computerized CR treatments and its relationship to patients' outcomes. While task repetition is not the only important feature, it is becoming clear that neuroplastic change and functional improvement occur after specific tasks are performed, but do not occur with others. In this work we focus on the preprocessing, patterns and knowledge extraction phases of a Knowledge Discovery in Databases (KDD) framework. We propose considering CR programs as sequences of sessions and pattern searching (association rules, classification models, clustering and shallow neural models) to support clinicians in the selection of specific interventions (e.g. tasks assignations). The proposed framework is applied to 40000 tasks executions from real clinical setting. Results show different execution patterns on patients with positive and negative responses to treatment, predictive models outperform previous recent research, therapists are provided with new insights and tools for tasks selection criteria and design of CR programs.