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

When editing an instance, instance type should be passed as parameter so know we if current object is an event or an entity #8

Open
Renaud009 opened this issue Jul 14, 2016 · 1 comment

Comments

@Renaud009
Copy link

Right now, we are evaluating type based on id prefixing character, which is generally a bad practice.
This might have major impact on the main brat application tho.
We could also use the provided type and look into the collection object to figure out type (event or entity).

@reckart
Copy link

reckart commented Jul 14, 2016

In WebAnno, we look up the type information in our internal representation of the document. If you store the document representation in the browser, you should be able to look up type information there without requiring brat to pass it to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants