Text this: A soft hierarchical algorithm for the clustering of multiple bioactive chemical compounds