<｜begin▁of▁sentence｜>### Instruction:
As a game developer, you have been working on a new multiplayer game that involves social interactions and collaboration between players. You have a network of words representing the social and collaborative interactions between players in the game, and the network is stored in a GML file named 'adjnoun.gml'. You are looking to use a method called Louvain, available in the cdlib library, to detect communities within this network. Additionally, you are interested in computing the size of the identified communities to better understand the social dynamics within the game.
### Response:
from cdlib import algorithms, evaluation
import networkx as nx

# Reading the graph from the 'adjnoun.gml' file
G = nx.read_gml('adjnoun.gml')

# Performing community detection using the Louvain algorithm
communities = algorithms.louvain(G)

# Computing the size of the detected communities
sizes = evaluation.size(G, communities)

print(sizes)
<|EOT|>
