BioASQ / AnnotationTool

Annotation tool for the BioASQ project
8 stars 0 forks source link

Verbalizer should return array instead object. #29

Closed 0xfeedface closed 11 years ago

0xfeedface commented 11 years ago

Currently the verbalizer returns a JSON object with the value being the only key:

{ "value" }

it would be better for iteration purposes if it returned an array:

[ "value" ]

this would allow us to return multiple values (see #30 ).

[ "value 1", "value 2", ... ]
ngonga commented 11 years ago

Done. There is now a batch verbalization service that can be called as follows.

http://139.18.2.164:9998/batchverbalizer?data=[ %7Bs: "Alan", p: "love", o: "Maria"%7D, %7Bs: "Alan", p: "eat", o: "banana"%7D ]