christophalt commited on
Commit
12f9b00
·
1 Parent(s): 298e310

Update conll2003.py

Browse files
Files changed (1) hide show
  1. conll2003.py +1 -11
conll2003.py CHANGED
@@ -1,19 +1,9 @@
1
  from dataclasses import dataclass
2
 
3
  import pytorch_ie.data.builder
4
- from pytorch_ie.annotations import AnnotationList, LabeledSpan
5
- from pytorch_ie.document import TextDocument, annotation_field
6
-
7
- # import tests.data.test_new_document_and_datasets
8
  from pytorch_ie.utils.span import bio_tags_to_spans
9
 
10
- # from tests.data.test_new_document_and_datasets import (
11
- # AnnotationList,
12
- # Document,
13
- # LabeledSpan,
14
- # annotation_field,
15
- # )
16
-
17
 
18
  @dataclass
19
  class CoNLL2003Document(TextDocument):
 
1
  from dataclasses import dataclass
2
 
3
  import pytorch_ie.data.builder
4
+ from pytorch_ie import AnnotationList, LabeledSpan, TextDocument, annotation_field
 
 
 
5
  from pytorch_ie.utils.span import bio_tags_to_spans
6
 
 
 
 
 
 
 
 
7
 
8
  @dataclass
9
  class CoNLL2003Document(TextDocument):