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

changes made for sqllite annotation manager #24

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

adam-sutton-1992
Copy link
Collaborator

Ignore the spelling mistake on the branch title :).

These are just the quick and fast changes done using sqlite creating two scripts, and one template to handle annotation mulitple documents pulled from ES where the scroll will be take longer than 24 hours.

I don't think any of these changes are nessescary but may be worth looking at or incorporating into the pgqsl fix you've already done:

  1. Template for annotations. The major differences are it pulls from ES/OS instead of SQL and after reciving anotations it then adds the document ID to the database of completed annotations before splitting into multiple annotations.
  2. annotation_creator.py - Script for creating a new database of completed annotations. If you've already completed mulitple annotations and then get into a situation that the scrolling will reset this script will create a new database and store all documents already annotated.
  3. annotation_manager_docs.py Script for adding annotations on a per document basis instead of per annotation. This would ideally be merged gracefully into annotation_manager.py but I did it as a single file in my quick solution.

@vladd-bit vladd-bit merged commit c13cd82 into master Dec 17, 2024
0 of 8 checks passed
@vladd-bit vladd-bit deleted the SQLLite-annotation-manager branch December 17, 2024 15:09
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.

2 participants