pattern-clustering (pypi): This tool clusterizes lines of text given a collection of input patterns modeled using regular expressions.
Keywords: pattern_clustering|clustering-algorithm|dynamic-programming|language-theory|pattern-matching