<｜begin▁of▁sentence｜>### Instruction:
Given the Word Adjacencies network which can be read from a GML file named adjnoun.gml, can you use the Louvain method in cdlib to perform community detection? And can you compute the Z-modularity to evaluate the quality of the detected community structure? Notes: You need to print the Z-modularity score.
### Response:
import networkx as nx
from cdlib import algorithms, evaluation

# Create a graph from the Word Adjacencies network
G = nx.read_gml('adjnoun.gml')

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

# Compute the Z-modularity
z_mod = evaluation.z_modularity(G, communities)

# Print the Z-modularity
print(z_mod.score)
<|EOT|>
