Text annotation
Demo
Dictionary Selection
Selected Unselected  
FMA
HPO
MAT
www
REST API for annotation
GET|POST
https://pubdictionaries.org/text_annotation.json?dictionary=ORGA_CY
paste it to PubAnnotation

Example cURL command

1 GET
curl -G --data-urlencode text="example text" "https://pubdictionaries.org/text_annotation.json?dictionary=ORGA_CY"
2 POST
curl -d text="example text" "https://pubdictionaries.org/text_annotation.json?dictionary=ORGA_CY"
3 POST
curl -H "content-type:application/json" -d '{"text":"example text"}' "https://pubdictionaries.org/text_annotation.json?dictionary=ORGA_CY"
4 POST
curl -H "content-type:text/plain" -d "example text" "https://pubdictionaries.org/text_annotation.json?dictionary=ORGA_CY"
REST API for batch annotation
POST
https://pubdictionaries.org/annotation_tasks?dictionary=ORGA_CY

Example cURL command

1 POST
curl -H "content-type:application/json" -d '[{"text":"example text 1"},{"text":"example text 2"}]' "https://pubdictionaries.org/annotation_tasks?dictionary=ORGA_CY"