corpustools.corpus.io.csv.load_corpus_csv(corpus_name, path, delimiter, annotation_types=None, feature_system_path=None, stop_check=None, call_back=None)[source]

Load a corpus from a column-delimited text file


corpus_name : str

Informative identifier to refer to corpus

path : str

Full path to text file

delimiter : str

Character to use for spliting lines into columns

annotation_types : list of AnnotationType, optional

List of AnnotationType specifying how to parse text files

feature_system_path : str

Full path to pickled FeatureMatrix to use with the Corpus

stop_check : callable, optional

Optional function to check whether to gracefully terminate early

call_back : callable, optional

Optional function to supply progress information during the function



Corpus object generated from the text file