asreview.state.SQLiteState.add_labeling_data

SQLiteState.add_labeling_data(record_ids, labels, notes=None, tags_list=None, prior=False)[source]

Add the data corresponding to a labeling action to the state file.

Parameters:
  • record_ids (list, numpy.ndarray) – A list of ids of the labeled records as int.

  • labels (list, numpy.ndarray) – A list of labels of the labeled records as int.

  • notes (list of str/None) – A list of text notes to save with the labeled records.

  • tags_list (list of list) – A list of tags to save with the labeled records.

  • prior (bool) – Whether the added record are prior knowledge.