Text this: An unsupervised algorithm for detecting good continuation in Dot Patterns