SourceProtocol#
- class scikitplot.corpus.SourceProtocol(*args, **kwargs)[source]#
Structural interface every document source must satisfy.
- stream()[source]#
Yield documents one at a time without loading all into memory.
- Yields:
- CorpusDocument
- Return type:
Iterator[CorpusDocument]