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:
parent
715c6ca3f3
commit
1c4d21810e
1 changed files with 4 additions and 1 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