Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brat JSON embedded format #1450

Open
TheFrisbeeHamster opened this issue Dec 23, 2019 · 2 comments
Open

brat JSON embedded format #1450

TheFrisbeeHamster opened this issue Dec 23, 2019 · 2 comments
Assignees
Labels

Comments

@TheFrisbeeHamster
Copy link

For the normal brat visualizer there is the BratWriter component in DKPro which exports .ann, annotation.conf, tools.conf and visual.conf files
I was wondering if there is the possibility to let DKPro write out annotations to the brat JSON format (explained here: Link). Or is there an existing tool that does this?
The JsonWriter outputs a different JSON format than required by the embedded version of brat.

@reckart
Copy link
Member

reckart commented Jan 7, 2020

You can set PARAM_FILENAME_EXTENSION to .html or .json to have the writer either generate a static HTML page visualizing the annotations or just the plain JSON.

@reckart reckart self-assigned this Jan 7, 2020
@reckart reckart added this to the 2.2.0 milestone Jan 7, 2020
@reckart
Copy link
Member

reckart commented Jan 7, 2020

It would probably be a good idea to either properly document this or to split the writer up into multiple components: BratAnnWriter, BratHtmlWriter and BratJsonWriter.

@reckart reckart added Module-io.brat ⭐️ Enhancement New feature or request labels Jan 7, 2020
@reckart reckart modified the milestones: 2.2.0, Feature backlog, Backlog Jan 16, 2021
@reckart reckart modified the milestone: Feature backlog Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants