Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup documents and annotations #134

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

ArneBinder
Copy link
Owner

@ArneBinder ArneBinder commented Sep 19, 2023

This PR:

  • removes unused Documents and Annotations and just add one example annotation Attribute and document TextDocumentWithLabeledEntitiesAndEntityAttributes
  • adds simple tests for both of them
  • removes document.conversion.token_based_document_with_entities_and_relations_to_text_based(). This is outdated, please use pytorch_ie.data.token_based_document_to_text_based() instead

Requires: #133

@ArneBinder ArneBinder force-pushed the cleanup_documents_and_annotations branch from fad073f to 31b58c9 Compare September 19, 2023 14:15
@ArneBinder ArneBinder merged commit df0f950 into main Sep 19, 2023
2 checks passed
@ArneBinder ArneBinder deleted the cleanup_documents_and_annotations branch September 19, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant