kitz
kitz

Reputation: 889

Create HTML visualization from Brat format

I have a set of files <*.txt, *.ann> in brat format.
Example: file.txt

Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
Morbi varius sapien ut vestibulum ornare. 
Donec volutpat ipsum dolor, eu feugiat ligula hendrerit vel.

Example: file.ann

T1  TagName1 7 11   ipsum
T2  TagName2 19 21  sit
T3  TagName3 23 26  amet
R1  belongs Arg1:T1 Arg2:T2
R2  provides Arg1:T3 Arg2:T1

Is there any Ruby gem or parser or library that can produce a highlighted visualization in simple html format of text based on .ann file? Is there someone who has worked with brat file format?

Upvotes: 3

Views: 166

Answers (0)

Related Questions