Skip to content

Commit e226259

Browse files
author
Matteo Romanello
authored
Merge pull request #3 from hipe-eval/dev_sven
Various new tsv functionalities
2 parents 692d322 + d6d8017 commit e226259

File tree

7 files changed

+451
-100
lines changed

7 files changed

+451
-100
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
__pycache__
22
.DS_Store
33
*.egg-info
4-
.ipynb_checkpoints
4+
.ipynb_checkpoints
5+
Icon*
6+
.idea
7+

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
# HIPE-pycommons
2-
HIPE-pycommons is a python library for the management of NE-annotated data around INCEpTION annotation platform.
2+
3+
HIPE-pycommons is a python library for the management of NE-annotated data. It deals with the import and manipulation of annotations coming from INCEpTION and with the export and manipulation of HIPE-compliant `tsv` files.
4+
5+
The `helpers` package contains functions and objects to manipulate tsv files. It allows notably to :
6+
7+
- parse `tsv`s to dedicated objects, such as `HipeDocument`, `TSVComment` and `TSVAnnotation`.
8+
9+
10+
- Export `tsv`s to:
11+
- `pandas.DataFrame` using `tsv_to_dataframe`
12+
- Lists of samples/examples using `tsv_to_lists`
13+
- Pytorch `Datasets` using `tsv_to_torch_datasets`
14+
15+

0 commit comments

Comments
 (0)