BioASQ / AnnotationTool

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

Accept multiple statements for verbalization #30

Closed 0xfeedface closed 11 years ago

0xfeedface commented 11 years ago

Currently for each statement to be verbalized a separate request is needed. This is very inefficient resource usage. The verbalizer should accept a JSON array of statements and return an array of strings with verbalizations of all statements.

That is, it should accept for instance:

[ {s: "subject 1", p: "predicate 1", o: "object 1"}, {s: "subject 2", p: "predicate 2", o: "object 2"} ]

and return

[ "subject 1's predicate 1 ist object 1", "subject 2's predicate 2 is object 2" ]
ngonga commented 11 years ago

Done.