|
1 | | -# backwards compatibility |
2 | | -from pie_documents.documents import ( |
3 | | - DocumentWithLabel, |
4 | | - DocumentWithMultiLabel, |
5 | | - TextBasedDocument, |
6 | | - TextDocumentWithLabel, |
7 | | - TextDocumentWithLabeledMultiSpans, |
8 | | - TextDocumentWithLabeledMultiSpansAndBinaryRelations, |
9 | | - TextDocumentWithLabeledMultiSpansAndLabeledPartitions, |
10 | | - TextDocumentWithLabeledMultiSpansBinaryRelationsAndLabeledPartitions, |
11 | | - TextDocumentWithLabeledPartitions, |
12 | | - TextDocumentWithLabeledSpans, |
13 | | - TextDocumentWithLabeledSpansAndBinaryRelations, |
14 | | - TextDocumentWithLabeledSpansAndLabeledPartitions, |
15 | | - TextDocumentWithLabeledSpansAndSentences, |
16 | | - TextDocumentWithLabeledSpansBinaryRelationsAndLabeledPartitions, |
17 | | - TextDocumentWithMultiLabel, |
18 | | - TextDocumentWithSentences, |
19 | | - TextDocumentWithSpans, |
20 | | - TextDocumentWithSpansAndBinaryRelations, |
21 | | - TextDocumentWithSpansAndLabeledPartitions, |
22 | | - TextDocumentWithSpansBinaryRelationsAndLabeledPartitions, |
23 | | - TokenBasedDocument, |
24 | | - WithMetadata, |
25 | | - WithText, |
26 | | - WithTokens, |
27 | | -) |
28 | | -from typing_extensions import TypeAlias |
29 | | - |
30 | | -# backwards compatibility |
31 | | -TextDocument: TypeAlias = TextBasedDocument |
| 1 | +from pie_documents.documents import * |
0 commit comments