-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This folder contains some open data files. See https://clinlp.readthedocs.io/en/latest/data.html for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Data | ||
|
||
The `clinlp` repository contains some open data files with real (or semi-real) examples. Some of these are used by `clinlp` (for example in the tests), but they are also available for others to use. | ||
|
||
The files are located at: https://github.com/umcu/clinlp/tree/main/data | ||
|
||
## `tokenizer_cases.json` | ||
|
||
Some cases for testing tokenizers, collected during development of clinlp, often based on real examples. | ||
|
||
## `sentencizer_cases.json` | ||
|
||
Some cases for testing sentencizers, collected during development of clinlp, often based on real examples. | ||
|
||
## `qualifier_cases.json` | ||
|
||
Some cases for testing qualifier detectors, collected during development of clinlp, often based on real examples. Each doc contains exactly one entity, which makes it easier for our regression tests to mark skips. | ||
|
||
You can load this file to an `InfoExtractionDataset` for further evaluation using: | ||
|
||
```python | ||
from clinlp.data import InfoExtractionDataset | ||
|
||
dataset = InfoExtractionDataset.from_json("data/qualifier_cases.json") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters