dhlab.text.wildcard#

Module Contents#

Classes#

WildcardWordSearch

Find a class of words matching a wildcard string

API#

class dhlab.text.wildcard.WildcardWordSearch(word, factor=2, freq_limit=10, limit=50)#

Bases: dhlab.text.dhlab_object.DhlabObj

Find a class of words matching a wildcard string

Initialization

Args: word: word from a mixture of * and characters factor: the additional length of words to be returned freq_limit: the frequency of returned words lower limit limit: number of words returned