pattern_clustering

Top-level package for Pattern clustering.

pattern_clustering.boost

Boost C++ functions wrapper.

pattern_clustering.cli

Console script for pattern_clustering.

pattern_clustering.html

pattern_clustering.language_density(g[, ...])

Computes the language density of an Automaton for a given alphabet. :param g: The Automaton representing the language. :type g: Automaton :param alphabet: A set gathering the characters of the alphabet. You could pass list(pybgl.automaton.alphabet(g)) which computes the smallest valid alphabet in O(num_edges(g)). :type alphabet: set :param n_max: An unsigned int corresponding to the maximum degree used to compute the language density. The greater n_max, the better the accuracy, but the slower the computation. :type n_max: int :param series: Callback(int) -> float returning the coefficient of a monome according to its degree. :type series: callable.

pattern_clustering.multi_grep(w, map_name_dfa)

Searches sub-strings of a string matched by multiple patterns.

pattern_clustering.pattern_automaton

pattern_clustering.pattern_clustering(arg1, ...)

C++ signature :

pattern_clustering.regexp