src/substitution_fns.py [130:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    answer_text=sub_answer.text,
                    ner_label=sub_answer.ner_label,
                    kb_id=sub_answer.kb_id,
                    wikidata_label=sub_answer.wikidata_label,
                    aliases=sub_answer.aliases,
                    wikidata_types=sub_answer.wikidata_types,
                    wikipedia_page=sub_answer.wikipedia_page,
                    popularity=sub_answer.popularity,
                    answer_type=sub_answer.answer_type,
                    replace_every_original_answer=replace_every,
                )
                new_exs.append(new_ex)
        return new_exs

    new_exs = []
    for ex in dset.examples:
        ex_answer_type = ex.get_example_answer_type()
        if ex_answer_type is not None:
            if category.lower() == "all" or category.lower() == ex_answer_type.lower():
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/substitution_fns.py [275:293]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    answer_text=sub_answer.text,
                    ner_label=sub_answer.ner_label,
                    kb_id=sub_answer.kb_id,
                    wikidata_label=sub_answer.wikidata_label,
                    aliases=sub_answer.aliases,
                    wikidata_types=sub_answer.wikidata_types,
                    wikipedia_page=sub_answer.wikipedia_page,
                    popularity=sub_answer.popularity,
                    answer_type=sub_answer.answer_type,
                    replace_every_original_answer=replace_every,
                )
                new_exs.append(new_ex)
        return new_exs

    new_exs = []
    for ex in dset.examples:
        ex_answer_type = ex.get_example_answer_type()
        if ex_answer_type is not None:
            if category.lower() == "all" or category.lower() == ex_answer_type.lower():
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



