Skip to content

Commit

Permalink
chore: bump version to 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
percevalw committed Mar 29, 2024
1 parent d5dc0d8 commit 5ad4784
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ 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.10.7
pip install edsnlp==0.11.0
```

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

```shell
pip install "edsnlp[ml]==0.10.7"
pip install "edsnlp[ml]==0.11.0"
```

### A first pipeline

Once you've installed the library, let's begin with a very simple example that extracts mentions of COVID19 in a text, and detects whether they are negated.

```python
import edsnlp
import edsnlp, edsnlp.pipes as eds

nlp = edsnlp.blank("eds")

Expand All @@ -57,10 +57,10 @@ terms = dict(
)

# Split the documents into sentences, this isneeded for negation detection
nlp.add_pipe("eds.sentences")
nlp.add_pipe(eds.sentences())
# Matcher component
nlp.add_pipe("eds.matcher", config=dict(terms=terms))
# Negation detection
nlp.add_pipe(eds.matcher(terms=terms))
# Negation detection (we also support spacy-like API !)
nlp.add_pipe("eds.negation")

# Process your text in one call !
Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## v0.11.0 (2024-03-29)

### Added

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.10.7
pip install edsnlp==0.11.0
```

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

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

### A first pipeline
Expand Down
2 changes: 1 addition & 1 deletion edsnlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import edsnlp.data # noqa: F401
import edsnlp.pipes

__version__ = "0.10.7"
__version__ = "0.11.0"

BASE_DIR = Path(__file__).parent

Expand Down

0 comments on commit 5ad4784

Please sign in to comment.