colrev.loader.md.MarkdownLoader
- class colrev.loader.md.MarkdownLoader(*, filename, entrytype_setter=<function MarkdownLoader.<lambda>>, field_mapper=<function MarkdownLoader.<lambda>>, id_labeler=<function MarkdownLoader.<lambda>>, unique_id_field='', logger=<Logger colrev.loader.md (WARNING)>, format_names=False)[source]
Bases:
LoaderLoads reference strings from text (md) files (based on GROBID).
Initialize the markdown loader.
Methods
get_nr_recordsGet the number of records in the file.
loadLoad table entries from the source.
load_records_listLoad 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