The underlying intuition is that all the sentences X 1...n that are "similar" to any other sentence Y i should be in the same cluster even though X j and X k may not be "similar" to each other.
we find the connected components in the similarity matrix and label them as individual clusters.