Home | Trees | Indices | Help |
|
---|
|
object --+ | util.AbstractLazySequence --+ | ConcatenatedCorpusView
A 'view' of a corpus file that joins together one or more StreamBackedCorpusViews. At most one file handle is left open at any time.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
_pieces A list of the corpus subviews that make up this concatenation. |
|||
_offsets A list of offsets, indicating the index at which each subview begins. |
|||
_open_piece The most recently accessed corpus subview (or None ).
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Return the number of tokens in the corpus file underlying this corpus view.
|
Return an iterator that generates the tokens in the corpus file
underlying this corpus view, starting at the token number
|
|
_offsetsA list of offsets, indicating the index at which each subview begins. In particular: offsets[i] = sum([len(p) for p in pieces[:i]]) |
_open_pieceThe most recently accessed corpus subview (or |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:53 2008 | http://epydoc.sourceforge.net |