Document annotation
Document annotation stands on the Document view route :
- http://localhost:8000/#/document/4
- (See swagger doc for the routes: http://localhost:8008/swagger-ui)
Existing Feature on legacy Gargantext: https://drive.google.com/file/d/15qZnAHglsMKyI7AFrZAtlSKUd0lobaR_/view
You can test by yourself, ask an account (and ask me to create a corpus on it to get it quicker): https://iscpif.fr/apply-for-a-services-account/
Main Changes in comparison with previous version:
-
Fields where Ngrams can be selected :
- Title OR Abstract OR FULL TEXT -> NgramsType == NgramsTerms
- Sources -> NgramsType == Sources
- Authors -> NgramsType == Authors
- Institutes -> NgramsType == Institutes
-
data ListType = Candidate | Stop | GraphTerms (instead of MapTerms in legacy) (use same colors)
-
Main features:
- GET and Show (already selected) NGgrams in current Document View
-
PUT status of existing Ngrams (in database) (left click on the colored Ngrams):
- if GraphTerms -> Either Stop Candidate
- if Candidate -> Either Stop GraphTerm
- if Stop -> Either Candidate GraphTerms In all dropdown menus the last item is "Non adjacent NGrams". It allows to do multi-select (see below)
- Post of non existing (adjacent text) Ngrams
- POST new Ngrams with its Status (Graph OR Candidate OR Stop)
-
if not adjacent text :
- select first NGram -> in the drop down menu select "Non adjacent NGrams" -> ... -> select last NGram -> Select the statute. Example: The blue orange is big. If user wants to build the ngrams "blue orange big", then these steps have to be followed: select "blue orange" -> select "Non adjacent NGrams" in the drop down -> select "big" -> select the category (Candidate | Stop | GraphTerms) -> the ngrams "blue orange big" is created and associated to the document.
-
Finally, When the Ngrams table is stabilized, add it on the right (see design change). The sub-tables of the Table are Authors, Institutes, NgramsTerms (view by default), Sources... (Same as main Ngrams Table but Ngrams are those in current view only, or those which have been added as free text, see below)
-
Possibility to add/POST a FREE Text (text that does not exist in the text), add form with maybe suggestion of existing Ngrams (below the Ngrams Table)
(Step After: possibility to edit/improve/correct Text, future to be announced)