dfki-nlp commited on
Commit
ab8254e
1 Parent(s): 117f690

Update tacred.py

Browse files
Files changed (1) hide show
  1. tacred.py +1 -6
tacred.py CHANGED
@@ -70,13 +70,8 @@ published at ACL 2020.
70
  Note 2: This Datasetreader changes the offsets of the following fields, to conform with standard Python usage (see
71
  #_generate_examples()):
72
  - subj_end to subj_end + 1 (make end offset exclusive)
73
- - oj_end to oj_end + 1 (make end offset exclusive)
74
  - stanford_head to stanford_head - 1 (make head offsets 0-based)
75
-
76
- It also changes the names of some fields:
77
- - token -> tokens
78
- - stanford_ner -> ner_tags
79
- - stanford_pos -> pos_tags
80
  """
81
 
82
  _HOMEPAGE = "https://nlp.stanford.edu/projects/tacred/"
 
70
  Note 2: This Datasetreader changes the offsets of the following fields, to conform with standard Python usage (see
71
  #_generate_examples()):
72
  - subj_end to subj_end + 1 (make end offset exclusive)
73
+ - obj_end to obj_end + 1 (make end offset exclusive)
74
  - stanford_head to stanford_head - 1 (make head offsets 0-based)
 
 
 
 
 
75
  """
76
 
77
  _HOMEPAGE = "https://nlp.stanford.edu/projects/tacred/"