textnets.load_corpus¶
- textnets.load_corpus(source: PathLike[Any] | str) Self¶
Load a corpus from file.
- Parameters:
source (str or path) – File to read the corpus from. This should be a file created by
Corpus.save.- Return type:
- Raises:
FileNotFoundError – If the specified path does not exist.