<｜begin▁of▁sentence｜>### Instruction:
Given the Condensed Matter collaborations 2005 graph which you can read from a gml file named cond-mat-2005.gml, can you use the Louvain method in cdlib to perform community detection? And can you compute the link modularity, which is a quality function designed for directed graphs with overlapping communities?
### Response:
import networkx as nx
from cdlib import algorithms, evaluation

# Read the condensed matter collaborations 2005 graph
G = nx.read_gml('cond-mat-2005.gml')

# Perform community detection using the Louvain method
communities = algorithms.louvain(G)

# Compute the link modularity
link_modularity = evaluation.link_modularity(G, communities)

# Print the result
print(link_modularity.score)
<|EOT|>
