{'fraction_non_alphanumeric': 0.018433179723502304, 'fraction_numerical': 0.0, 'mean_word_length': 5.397058823529412, '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}}
Natural language processing in psychiatry: the promises and perils of a transformative approach.

A person's everyday language can indicate patterns of thought and emotion predictive of mental illness. Here, we discuss how natural language processing methods can be used to extract indicators of mental health from language to help address long-standing problems in psychiatry, along with the potential hazards of this new technology.