The Commens Dictionary
Quote from ‘Cambridge Lectures on Reasoning and the Logic of Things: Habit’
Association by contrast ought to be regarded as a case of association by resemblance, not in the narrow sense in which the reduction is often made, but by generalizing the conception of resemblance in accordance with the logic of relatives until it embraces [a] high degree of logical relation between ideas. Contrast is a particular form, an especially prominent and familiar form, of what may be called relational resemblance by which I do not mean a resemblance of relations, but a connection of the kind which in the logic of relatives is shown to belong to the same class of relations to which the relation of resemblance belongs.
In the Collected Papers, the end of the first sentence is rendered "...until it embraces all high degrees of logical relations between ideas."