Skip to content

Commit

Permalink
update from pr#20
Browse files Browse the repository at this point in the history
  • Loading branch information
idalr committed Nov 3, 2023
1 parent e8899dd commit 536e9f4
Show file tree
Hide file tree
Showing 4 changed files with 2,162 additions and 2,366 deletions.
168 changes: 0 additions & 168 deletions dataset_builders/hf/cdcp/cdcp.py

This file was deleted.

3 changes: 2 additions & 1 deletion dataset_builders/pie/cdcp/cdcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

import datasets
import pytorch_ie.data.builder
from pie_utils.document.processors.text_span_trimmer import trim_text_spans
from pytorch_ie.annotations import BinaryRelation, LabeledSpan
from pytorch_ie.core import Annotation, AnnotationList, Document, annotation_field
from pytorch_ie.documents import TextDocumentWithLabeledSpansAndBinaryRelations

from pie_datasets.document.processing.text_span_trimmer import trim_text_spans

log = logging.getLogger(__name__)


Expand Down
Loading

0 comments on commit 536e9f4

Please sign in to comment.