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