def test_determine_token_labels_no_extractors(): determine_token_labels(CH_correct_segmentation[0], [CH_correct_entity, CH_wrong_entity], None)
def test_determine_token_labels_with_extractors(): determine_token_labels(CH_correct_segmentation[0], [CH_correct_entity, CH_wrong_entity], ["A", "B"])
def test_determine_token_labels_throws_error(): with pytest.raises(ValueError): determine_token_labels(CH_correct_segmentation, [CH_correct_entity, CH_wrong_entity], ["ner_crf"])