Sign inSign up

andersonsacramento/tefe

By andersonsacramento

•Updated about 5 years ago

Image
0

197

andersonsacramento/tefe repository overview

TEFE - TimeBankPT Event Frame Extraction Open In Colab Github

TEFE is a closed domain event extractor system for sentences in the Portuguese language. It extracts events from sentences, which means that it does event detection (i.e., event trigger identification and classification), and argument role prediction (i.e., argument identification and role classification). The event types are based on the typology of the FrameNet project (BAKER; FILLMORE; LOWE, 1998).

The andersonsacramento/tefe Docker image reads in an input directory of text files and writes Json document files to an output directory or it reads a sentence and prints the output on the standard output in Json format.

The text files in the input directory are expected to have the format:

* all text files end with the extension .txt
* sentences are separated by newlines

In order to read and write files on the Docker host, the container needs to be run with appropriate Docker volume⁠ flags (e.g. -v/--volume/--mount).

If the working directory on the Docker host contains a sub-directory named input-files/, then the container could be run using:

$ docker run -it --rm  -v  `pwd`:/mnt andersonsacramento/tefe --dir /mnt/input-files/  /mnt/output-files/

In order to run the container on a given sentence, it can be invoked using:

$ docker run -it  --rm andersonsacramento/tefe --sentence 'A Petrobras aumentou o preço da gasolina para 2,30 reais, disse o presidente.'

⁠How to cite this work

Peer-reviewed accepted paper:

  • Sacramento, A., Souza, M.: Joint Event Extraction with Contextualized Word Embeddings for the Portuguese Language. In: 10th Brazilian Conference on Intelligent System, BRACIS, São Paulo, Brazil, from November 29 to December 3, 2021.

Tag summary

Content type

Image

Digest

Size

2.6 GB

Last updated

about 5 years ago

docker pull andersonsacramento/tefe