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

Merge branch 'master' of code.dev.sbb.berlin:qurator/mono-repo

This commit is contained in:
Kai Labusch 2019-12-02 15:53:22 +01:00
commit 19c4eaa15f
2 changed files with 7 additions and 2 deletions

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)