Skip to content

Commit

Permalink
Merge pull request #194 from IndicoDataSolutions/remove_highlighter
Browse files Browse the repository at this point in the history
Removing highlighter, staggered loop and updating some failing tests
  • Loading branch information
Scott771 authored May 6, 2024
2 parents 696bf56 + c41e662 commit 9f367ec
Show file tree
Hide file tree
Showing 33 changed files with 29 additions and 3,210 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,10 @@ This is the first major version release tested to work on Indico 6.X.
### Added

* Small but important fix to add original filename to the workflow result object


## 6.1.0 5/6/24

### Removed

* Removed staggered loop support and removed highlighting support.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ The indico-toolkit provides classes and functions to help achieve the following:
* Tools to assist with creating and copying workflow structures.
* Get metrics for all model IDs in a model group to see how well fields are performing after more labeling.
* Compare two models via bar plot and data tables.
* Highlighting extraction predictions on source PDFs.
* A simple Staggered loop implementation to identify high error documents and inject reviewed results into dev tasks.
* Train a document classification model without labeling.
* An AutoReview class to assist with automated acceptance/rejection of model predictions.
* Common manipulation of prediction/workflow results.
Expand All @@ -28,7 +26,6 @@ pip install indico_toolkit

* Note: if you are on Indico 6.X, install an indico_toolkit 6.X version. If you're on 5.X install a 2.X version.
* Note: If you are on a version of the Indico IPA platform pre-5.1, then install indico-toolkit==1.2.3.
* If you want to use PdfHighlighter, install with `pip install 'indico_toolkit[full]'` as PyMuPDF is an optional dependency.

### Example Useage

Expand All @@ -41,9 +38,6 @@ You can also set WORKFLOW_ID (workflow w/ single extraction model), MODEL_NAME (
and DATASET_ID (uploaded dataset). If you don't set these 3 env variables, test configuration will
upload a dataset and create a workflow.

Note: spacy isn't a requirement to install the package, but is a requirement to run the full test suite
as it is part of "staggered loop".

```
pytest
```
Expand Down
2 changes: 1 addition & 1 deletion indico_toolkit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""A package to support Indico IPA development"""
__version__ = "6.0.1"
__version__ = "6.1.0"

from .errors import *
from .client import create_client
Expand Down
1 change: 0 additions & 1 deletion indico_toolkit/highlighter/__init__.py

This file was deleted.

306 changes: 0 additions & 306 deletions indico_toolkit/highlighter/highlighter.py

This file was deleted.

Loading

0 comments on commit 9f367ec

Please sign in to comment.