-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
The autocorpus.py module returns data in dictionaries in BioC format, but a lot of that structure is replicating the dataclasses in the ac_bioc package. The code should be adapted to use these dataclasses instead of dictionaries.
This will have the benefit of improved consistency throughout the code as well and strengthening the type-security across the code.
An example:
- The dictionary returned by
get_formatted_bioc_documentinbioc_documents.pyserves the same purpose as theac_bioc.BioCDocumentdataclass. The function should be changed to return theBioCDocumenttype.
Metadata
Metadata
Assignees
Labels
No labels