<｜begin▁of▁sentence｜>### Instruction:
Given the Astrophysics collaborations graph which you can read from a gml file named 'astro-ph.gml', can you use both the eigenvector and leiden community detection algorithms in cdlib to find community structures and then compute the Overlapping Normalized Mutual Information according to Lancichinetti et al. (2009) to measure the similarity between the two detected community structures? Notes: You need to print the overlapping normalized mutual information (ONMI) score.
### Response:
import networkx as nx
from cdlib import algorithms, evaluation

# Load an Astrophysics collaboration network graph
G = nx.read_gml('astro-ph.gml')

# Detect communities using two different algorithms
eigenvector_communities = algorithms.eigenvector(G)
leiden_communities = algorithms.leiden(G)

# Evaluate the similarity between the two detected community structures
onmi_lfk = evaluation.overlapping_normalized_mutual_information_LFK(eigenvector_communities, leiden_communities)
print(onmi_lfk)
<|EOT|>
