1
0
Fork 0
mirror of https://github.com/qurator-spk/sbb_ner.git synced 2025-06-09 12:20:00 +02:00

add historic french and dutch ground truth

This commit is contained in:
Kai Labusch 2019-12-02 12:10:24 +01:00
parent 715c6ca3f3
commit 1c4d21810e

View file

@ -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)