<｜begin▁of▁sentence｜>### Instruction:
As a Computer Systems Analyst specializing in optimizing network visualization tools, you're tasked with leveraging the igraph library to visualize and summarize hierarchical clustering data. Given a specific merge history and a set of node names, your goal is to utilize the `Dendrogram` class in igraph to create a dendrogram illustration. Additionally, you need to develop a method to summarize the dendrogram's structure in ASCII art if it contains fewer than 10 leaf nodes. This will provide a concise overview of the clustering hierarchy for easy interpretation by stakeholders.
### Response:
from igraph import Graph
from igraph import Dendrogram

# Assume 'matrix' is either a list of tuples or a numpy array representing the merge history
matrix = [(0, 1), (2, 3), (4, 5), (6, 7), (8, 'A')]

# Create a dendrogram from the hierarchical clustering merge history
clustering = Dendrogram(matrix)

# Set the names of the nodes in the dendrogram
clustering.names = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H']

# Draw the dendrogram with a specific orientation
clustering.__plot__(orientation='left-right')

# Get a summary of the dendrogram
print(clustering.summary(max_leaf_count=10))
<|EOT|>
