https://github.com/liaad/brat2viz
https://github.com/liaad/brat2viz
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/liaad/brat2viz
- Owner: LIAAD
- Created: 2021-02-09T12:08:16.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-31T10:38:40.000Z (about 5 years ago)
- Last Synced: 2025-01-08T01:48:06.869Z (over 1 year ago)
- Language: Python
- Size: 119 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brat2viz
## Setup
It is recommended to run the project in a python virtual environment.
```
$ virtualenv venv
$ source venv/bin/activate
```
```
$ pip install -r requirements.txt
```
### BRAT2DRS
Change directory to *brat2drs*
```
$ python brat2drs.py
```
Creates drs representations, under *brat2viz/drs_files*, from the .ann files under *text_2_story_new*.
### DRS2VIZ
Change directory to *drs2viz*
```
$ python app.py
```
Starts a flask server running the representations on http://localhost:5055/brat2viz
### Cite our paper
If you use or extend Brat2Viz, **please** cite our paper:
Evelin Amorim, Alexandre Ribeiro, Inês Cantante, Alípio Jorge, Brenda Santana, Sérgio Nunes, Purificação Silvano, António Leal and Ricardo Campos:
**Brat2Viz: a Tool and Pipeline for Visualizing Narratives from Annotated Texts**,
Text2Story Workshop at ECIR2021, CEUR, 2021.
Link to the workshop: https://text2story21.inesctec.pt/