Feature #3191

Annotation, CoNLL-u, apply generic engine with REST queries

Added by Matthieu Decorde about 1 month ago.

Status:New Start date:12/07/2021
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Annotation Spent time: -
Target version:TXM Profiterole 2.0

Description

It is quite common that annotation engines expose themself with a REST API and return conllu result (TXT based)

1) see if we can findout a generic way to call REST command (atgeted engines are UDPipe, Talisman, Hops, ...)
2) retrieve result
3) re-align result using the XmlID= scheme

see details at

https://groupes.renater.fr/wiki/txm-info/public/specs_annotation_nlp_api?s[]=rest

https://groupes.renater.fr/wiki/txm-info/public/annotation/tal_udpipe?s[]=rest

note : an alternative way is to :
  • export a TXM corpus via the export as conllu command
  • apply a tool out of TXM
  • import the conllu annotations with the import conllu annotations command

see also what is done in the eltec svn branch to call UDpipe tokenisation, tagger and parser

Also available in: Atom PDF