mirror of
https://github.com/qurator-spk/sbb_ner.git
synced 2025-06-09 04:10:08 +02:00
Merge branch 'master' of code.dev.sbb.berlin:qurator/mono-repo
This commit is contained in:
commit
19c4eaa15f
2 changed files with 7 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue