EXT: Analec, simplify access to annotation tools
Currently the annotation scenario is:
- declare annotation structure
- annotate
So tools need an annotation structure to be active and useable.
To simplify access to the annotation tools the annotation scenario can be:
- annotate
- eventually update annotation structure
Solution
When an Analec extension annotation tool is used on a corpus, if no annotation structure is associated, create one by default.
The default annotation structure can be:
- unit
- type=entité
- property=propriété 1
- property=propriété 2
- type=entité
Then the annotation toolbar looks like
Unité : [entité v] [entité-1 v] [Créer][Supprimer]
Then the annotation property view looks like
propriété 1 : [ v] propriété 2 : [ v]
(from redmine: issue id 2382, created on 2018/05/25 by Matthieu Decorde)