From 1c4d21810e22311e26fa43df0c7c21c39ddd03eb Mon Sep 17 00:00:00 2001 From: Kai Labusch Date: Mon, 2 Dec 2019 12:10:24 +0100 Subject: [PATCH] add historic french and dutch ground truth --- qurator/sbb_ner/ground_truth/europeana_historic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qurator/sbb_ner/ground_truth/europeana_historic.py b/qurator/sbb_ner/ground_truth/europeana_historic.py index 27017a6..11818ae 100644 --- a/qurator/sbb_ner/ground_truth/europeana_historic.py +++ b/qurator/sbb_ner/ground_truth/europeana_historic.py @@ -61,7 +61,10 @@ def main(path_to_ner_corpora, ner_ground_truth_file): gt_all = read_gt(['{}/enp_DE.sbb.bio/enp_DE.sbb.bio'.format(path_to_ner_corpora), '{}/enp_DE.onb.bio/enp_DE.onb.bio'.format(path_to_ner_corpora), - '{}/enp_DE.lft.bio/enp_DE.lft.bio'.format(path_to_ner_corpora)], ['SBB', 'ONB', 'LFT']) + '{}/enp_DE.lft.bio/enp_DE.lft.bio'.format(path_to_ner_corpora), + '{}/enp_FR.bnf.bio/enp_FR.bnf.bio'.format(path_to_ner_corpora), + '{}/enp_NL.kb.bio/enp_NL.kb.bio'.format(path_to_ner_corpora)], + ['SBB', 'ONB', 'LFT', 'BNF', 'KB']) gt_all.to_pickle(ner_ground_truth_file)