{'fraction_non_alphanumeric': 0.023060796645702306, 'fraction_numerical': 0.023060796645702306, 'mean_word_length': 4.753012048192771, '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}}
Textual prediction of attitudes towards mental health

A simple search on Google with the phrase 'Mental Health in Ghana' will produce lots of hits including news items through publications to mental health bills. A lot of information is hidden in such unstructured data and could be mined to improve mental health in Ghana. For this reason, lexicon-based sentiment analysis and supervised machine learning was applied on a corpus of 28 journal articles and two news items in mental health. The sentiment score for the lexicon-based text analysis was negative indicating negative impression on mental health. SVM classification outperformed other algorithms with accuracy of 0.839. MAXENT was the worst performer accuracy 0.774. F-score for SVM was 0.67; 0.64 for MAXENT and 0.59 for RF. 83.9% accuracy means that we can effectively predict human behaviour towards mental health via text mining because our behaviours are influenced by opinions we carry.