ArneBinder commited on
Commit
7fba074
·
verified ·
1 Parent(s): 0bedf86

use pie-documents 0.1.0

Browse files

from https://github.com/ArneBinder/pie-datasets/pull/209 (and https://github.com/ArneBinder/pie-datasets/pull/211), also see https://github.com/ArneBinder/pie-documents/releases/tag/v0.1.0

Files changed (2) hide show
  1. requirements.txt +1 -1
  2. tacred.py +3 -3
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
  pie-datasets>=0.10.11,<0.12.0
2
- pie-modules>=0.15.9,<0.16.0
 
1
  pie-datasets>=0.10.11,<0.12.0
2
+ pie-documents>=0.1.0,<0.2.0
tacred.py CHANGED
@@ -3,9 +3,9 @@ from typing import Any, Dict, Optional
3
 
4
  import datasets
5
  from pie_core import Annotation, AnnotationLayer, annotation_field
6
- from pie_modules.annotations import BinaryRelation, LabeledSpan
7
- from pie_modules.document.processing import token_based_document_to_text_based
8
- from pie_modules.documents import (
9
  TextDocumentWithLabeledSpansAndBinaryRelations,
10
  TokenBasedDocument,
11
  )
 
3
 
4
  import datasets
5
  from pie_core import Annotation, AnnotationLayer, annotation_field
6
+ from pie_documents.annotations import BinaryRelation, LabeledSpan
7
+ from pie_documents.document.processing import token_based_document_to_text_based
8
+ from pie_documents.documents import (
9
  TextDocumentWithLabeledSpansAndBinaryRelations,
10
  TokenBasedDocument,
11
  )