load_feature_matrix_csv

corpustools.corpus.io.csv.load_feature_matrix_csv(name, path, delimiter, stop_check=None, call_back=None)[source]

Load a FeatureMatrix from a column-delimited text file

Parameters:

name : str

Informative identifier to refer to feature system

path : str

Full path to text file

delimiter : str

Character to use for spliting lines into columns

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

Returns:

FeatureMatrix

FeatureMatrix generated from the text file