{'fraction_non_alphanumeric': 0.0124282982791587, 'fraction_numerical': 0.0, 'mean_word_length': 5.158823529411765, '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}}
A formal model for building a social network

A social network is a map of specified ties between the actors being studied. Social network analysis is the mapping and measuring of relationships between entities to provide a visual and mathematical analysis of relationships among actors. Interest in analyzing computer-based social networks has grown as human communication has increasingly moved online. More so, computer logs give the ability to instrument and measure computer-based social network activities. The social network analysis of computer-based networks may reveal ways in which people communicate and this may find the type of products or services users are willing to pay for. In this paper, we extended a high level Petri nets with channels for formally modeling social networks. The formal model provides a solid foundation for rigorously analyze social network activities. We illustrated the idea and demonstrate the effectiveness of the approach through modeling and analyzing a friend suggestion function in a social network.