{'fraction_non_alphanumeric': 0.01642512077294686, 'fraction_numerical': 0.0, 'mean_word_length': 5.683870967741935, '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}}
SocAware: A Middleware for Social Applications in Online Social Networks

The popularity of online social network (OSN) services has given rise to a variety of social network applications. However these applications lack a common platform for information sharing and people interoperating. In this paper, we propose SocAware, a middleware designed for OSN services. SocAware extracts social relation from heterogeneous networks, and builds a uniform knowledge base to manage the social information. SocAware distinguishes itself from other OSN middlewares by analyzing the OSN activities to classify the social relations, and by calculating the strength of social relations to provide reusability between social applications. We also provide a set of API to facilitate third-party application development and the effective utilization of these relations. In order to validate SocAware, we developed two prototype applications above the middleware. The experimental results demonstrate the usability and expansibility of the middleware.