Text this: An improved clustering algorithm based on local density