<｜begin▁of▁sentence｜>### Instruction:
Given a graph, possibly representing a social network, how can you obtain and display a summary of the hierarchical clustering dendrogram resulting from applying the edge betweenness community detection algorithm?
### Response:
import igraph as ig

# Load a graph example (e.g., the Karate Club graph)
g = ig.Graph.Famous('Zachary')

# Assuming we have already computed a hierarchical clustering
dendrogram = g.community_edge_betweenness()
vertex_dendrogram = dendrogram.as_clustering()

# Get the summary of the dendrogram
summary = vertex_dendrogram.summary()

# Print the summary
print(summary)
<|EOT|>
