ArneBinder
commited on
Commit
•
3c3b52d
1
Parent(s):
33126ae
pie-datasets 0.6.0
Browse files- cdcp.py +1 -1
- requirements.txt +1 -1
cdcp.py
CHANGED
@@ -3,7 +3,7 @@ import logging
|
|
3 |
from typing import Any, Dict, List, Optional
|
4 |
|
5 |
import datasets
|
6 |
-
from
|
7 |
from pytorch_ie.annotations import BinaryRelation, LabeledSpan
|
8 |
from pytorch_ie.core import Annotation, AnnotationList, annotation_field
|
9 |
from pytorch_ie.documents import (
|
|
|
3 |
from typing import Any, Dict, List, Optional
|
4 |
|
5 |
import datasets
|
6 |
+
from pie_modules.document.processing.text_span_trimmer import trim_text_spans
|
7 |
from pytorch_ie.annotations import BinaryRelation, LabeledSpan
|
8 |
from pytorch_ie.core import Annotation, AnnotationList, annotation_field
|
9 |
from pytorch_ie.documents import (
|
requirements.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
pie-datasets>=0.
|
|
|
1 |
+
pie-datasets>=0.6.0,<0.7.0
|