Text this: A numerical method for frequent pattern mining