colrev.loader.md.MarkdownLoader

class MarkdownLoader(*, filename, entrytype_setter, field_mapper, id_labeler, unique_id_field='', logger=<Logger colrev.loader.md (WARNING)>)[source]

Bases: Loader

Loads reference strings from text (md) files (based on GROBID)

Methods

get_nr_records

Get the number of records in the file

load

Load table entries from the source

load_records_list

Load records from the source

classmethod get_nr_records(filename)[source]

Get the number of records in the file

Return type:

int

load()

Load table entries from the source

Return type:

dict

load_records_list()[source]

Load records from the source

Return type:

list