{'fraction_non_alphanumeric': 0.01634877384196185, 'fraction_numerical': 0.0, 'mean_word_length': 5.074380165289257, '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}}
Detecting Communities by Revised Max-flow Method in Networks

A ubiquitous phenomenon in networks is the presence of communities within which the network connections are dense and between which they are sparser. This paper proposes a max-flow algorithm in bipartite networks to detect communities in general networks. Firstly, we construct a bipartite network in accordance with a general network and derive a revised max-flow problem in order to uncover the community structure. Then we present a local heuristic algorithm to find the optimal solution of the revised max-flow problem. This method is applied to a variety of real-world and artificial complex networks, and the partition results confirm its effectiveness and accuracy.