Clinlp

Latest version: v0.8.0

Safety actively analyzes 638361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.8.0

Changed
* :exclamation: Renamed the `clinlp_entity_matcher` to `clinlp_rule_based_entity_matcher`
* :exclamation: `clinlp` now stores entities in `doc.spans['ents']` rather than `doc.ents`, allowing for overlap
* :exclamation: Overlap in entities found by the entity matcher is no longer resolved by default (replacing old behaviour). To remove overlap, pass `resolve_overlap=True`.
* Refactored tests to use `pytest` best practices
* Changed `clinlp_autocomponent` to `clinlp_component`, which automatically registers your component with spaCy
* Codebase and linting improvements
* Renamed the `other_threshold` config to `family_threshold` in the `clinlp_experiencer_transformer` component

Fixed
* The `clinlp_rule_based_entity_matcher` no longer overwrites entities detected by other components (but appends them)

0.7.0

Added
* Integrated the clin_nlp_metrics package in this repository, specifically in `clinlp.metrics.ie`
* Support for non-binary qualifier in the Context Algorithm (e.g. 'Change', with values Decreasing, Stable and Increasing)
* Support for bidirectional qualifier patterns

Changed
* :exclamation: Moved all components related to information extraction to `clinlp.ie`. Please update imports accordingly (e.g. `from clinlp.ie import Term`).
* :exclamation: Updated the framework for qualifiers, to now have three qualifier classes: Presence, Temporality and Experiencer. For more details, see docs.

0.6.6

Added
* Support for Python 3.12

0.6.5

Added
* A component for transformer-based detection of Experiencer qualifiers (Patient/Other) (`clinlp_experiencer_transformer`)

0.6.4

Added
* A way to use a csv file as input for a conceptlist, using `create_concept_dict`

0.6.3

Fixed
* Fix a bug with termination trigger directly next to context trigger

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.