Skip to content

Commit

Permalink
chore: bump version to 0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
percevalw committed Oct 10, 2024
1 parent 2e227e9 commit 97d0577
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ Check out our interactive [demo](https://aphp.github.io/edsnlp/demo/) !
You can install EDS-NLP via `pip`. We recommend pinning the library version in your projects, or use a strict package manager like [Poetry](https://python-poetry.org/).

```shell
pip install edsnlp==0.13.0
pip install edsnlp==0.13.1
```

or if you want to use the trainable components (using pytorch)

```shell
pip install "edsnlp[ml]==0.13.0"
pip install "edsnlp[ml]==0.13.1"
```

### A first pipeline
Expand Down
8 changes: 4 additions & 4 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Changelog

## Unreleased
## v0.13.1

### Added

- `eds.tables` accepts a minimum_table_size (default 2) argument to reduce pollution
- `RuleBasedQualifier` now expose a `process` method that only returns qualified entities and token without actually tagging them, defering this task to the `__call__` method.
- `RuleBasedQualifier` now expose a `process` method that only returns qualified entities and token without actually tagging them, deferring this task to the `__call__` method.

### Fixed

- Disorder and Behavor pipes don't use a "PRESENT" or "ABSENT" `status` anymore. Instead, `status=None` by default,
- Disorder and Behavior pipes don't use a "PRESENT" or "ABSENT" `status` anymore. Instead, `status=None` by default,
and `ent._.negation` is set to True instead of setting `status` to "ABSENT". To this end, the *tobacco* and *alcohol*
now use the `NegationQualifier` internaly.
now use the `NegationQualifier` internally.
- Numbers are now only detected without trying to remove the pollution in between digits, ie `55 @ 77777` could be detected as a full number before, but not anymore.
- Fix fsspec open file encoding to "utf-8".

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Check out our interactive [demo](https://aphp.github.io/edsnlp/demo/) !
You can install EDS-NLP via `pip`. We recommend pinning the library version in your projects, or use a strict package manager like [Poetry](https://python-poetry.org/).

```{: data-md-color-scheme="slate" }
pip install edsnlp==0.13.0
pip install edsnlp==0.13.1
```

or if you want to use the trainable components (using pytorch)

```{: data-md-color-scheme="slate" }
pip install "edsnlp[ml]==0.13.0"
pip install "edsnlp[ml]==0.13.1"
```

### A first pipeline
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"pytz",
"pysimstring>=1.2.1",
"regex",
"spacy>=3.1,<3.8",
"spacy>=3.2,!=3.8,<4.0",
"confit>=0.5.5",
"tqdm",
"umls-downloader>=0.1.1",
Expand Down Expand Up @@ -296,7 +296,7 @@ where = ["."]
requires = [
"setuptools",
"cython>=0.25",
"spacy>=3.2,<3.8",
"spacy>=3.2,!=3.8,<4.0",
# to update from https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
# while setting numpy >= 1.15.0 due to spacy reqs
"numpy==1.15.0; python_version=='3.7' and platform_machine not in 'arm64|aarch64|loongarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'",
Expand Down

0 comments on commit 97d0577

Please sign in to comment.