peal.data.custom_datasets.datastr

peal.data.custom_datasets.datastr(data_path)[source]

Line-wise variant of parse_datastr().

Parameters:

data_path (str) – Path of the annotation text file.

Returns:

The normalized table split into lines, as parse_csv expects it in its raw_data argument.

Return type:

list of str