Home | Trees | Indices | Help |
|
---|
|
|
|||
MinimalSet Find contexts where more than one possible target value can appear. |
|||
HTMLCleaner | |||
OrderedDict | |||
AbstractLazySequence An abstract base class for read-only sequences whose values are computed as needed. |
|||
LazySubsequence A subsequence produced by slicing a lazy sequence. |
|||
LazyConcatenation A lazy sequence formed by concatenating a list of lists. |
|||
LazyMap A lazy sequence whose elements are formed by applying a given function to each element in one or more underlying lists. |
|||
LazyZip A lazy sequence whose elements are tuples, each containing the i-th element from each of the argument sequences. |
|||
LazyEnumerate A lazy sequence whose elements are tuples, each ontaining a count (from zero) and a value yielded by underlying sequence. |
|||
LazyMappedList Use LazyMap instead. |
|||
LazyMappedChain Use LazyConcatenation(LazyMap(func, lists)) instead. |
|
|||
|
|||
|
|||
|
|||
string
|
|
||
|
|||
|
|||
|
|||
|
|||
string
|
|
||
|
|||
list of tuple s
|
|
||
iterator of tuple s
|
|
|
|||
skip =
|
|
Pretty print a sequence of data items
|
Pretty print a string, breaking lines on whitespace
|
Search
|
Traverse the nodes of a tree in breadth-first order. (No need to check for cycles.) The first argument should be the tree root; children should be a function taking as argument a tree node and returning an iterator of the node's children. |
Given a byte string, attempt to decode it. Tries the standard 'UTF8' and 'latin-1' encodings, Plus several gathered from locale information. The calling program *must* first call: locale.setlocale(locale.LC_ALL, '') If successful it returns |
Remove HTML markup from the given string.
|
A utility that produces a sequence of ngrams from a sequence of items. For example: >>> ngram([1,2,3,4,5], 3) [(1, 2, 3), (2, 3, 4), (3, 4, 5)] Use ingram for an iterator version of this function.
|
A utility that produces an iterator over ngrams generated from a sequence of items. For example: >>> list(ingram([1,2,3,4,5], 3)) [(1, 2, 3), (2, 3, 4), (3, 4, 5)] Use ngram for a list version of this function.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:51 2008 | http://epydoc.sourceforge.net |