pattern_clustering.boost

Boost C++ functions wrapper.

Functions

group_by_identical_pa

Groups matching PatternAutomaton python instances.

make_densities

Builds the language density vector.

make_pattern_automata

Converts input lines to the PatternAutomaton C++ instances.

make_pattern_automaton

Builds a PatternAutomaton C++ instance from a input string.

make_pattern_automaton_python

PatternAutomaton.__init__ wrapper.

pattern_clustering

Computes the pattern clustering of input lines by grouping matching PAs.

pattern_clustering_with_preprocess

Computes the pattern clustering of input lines by grouping matching PAs.

pattern_clustering_without_preprocess

Computes the pattern clustering of input lines without aggregating duplicated PAs.

pattern_distance

Compute the pattern distance between two strings.

Classes

PatternClusteringEnv

Stores the pattern clustering settings.