Text this: Constrained clustering: general pairwise and cardinality constraints