class documentation
class ConcatenatedCorpusView(AbstractLazySequence): (source)
Constructor: ConcatenatedCorpusView(corpus_views)
A 'view' of a corpus file that joins together one or more StreamBackedCorpusViews<StreamBackedCorpusView>. At most one file handle is left open at any time.
Method | __init__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | close |
Undocumented |
Method | iterate |
Undocumented |
Instance Variable | _offsets |
A list of offsets, indicating the index at which each subview begins. In particular: |
Instance Variable | _open |
The most recently accessed corpus subview (or None). Before a new subview is accessed, this subview will be closed. |
Instance Variable | _pieces |
A list of the corpus subviews that make up this concatenation. |