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

Graph-based sampler #495

Closed
5 of 6 tasks
nicolay-r opened this issue Jul 15, 2023 · 1 comment
Closed
5 of 6 tasks

Graph-based sampler #495

nicolay-r opened this issue Jul 15, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers task

Comments

@nicolay-r
Copy link
Owner

nicolay-r commented Jul 15, 2023

This is expected to be a main contribution of the developed system

Support of nested entities that exists at the moment:

class BratCompoundEntity(BratEntity):
""" Entity which contains the hierarchy of the other entities.
"""
def __init__(self, id_in_doc, value, e_type, root, entities, index_begin, index_end,
display_value=None, group_index=None):
assert(isinstance(entities, list))
assert(isinstance(root, BratCompoundEntity) or root is None)
super(BratCompoundEntity, self).__init__(value=value, e_type=e_type,
id_in_doc=id_in_doc,
index_begin=index_begin,
index_end=index_end,
display_value=display_value,
group_index=group_index)
self.__entities = entities
self.__root = root

And there is a test for the compound objects, while the actual support of the compound objects on document level is not implemented.

@nicolay-r nicolay-r added enhancement New feature or request task labels Jul 15, 2023
@nicolay-r nicolay-r self-assigned this Jul 15, 2023
nicolay-r added a commit that referenced this issue Aug 18, 2023
@nicolay-r nicolay-r added the good first issue Good for newcomers label Nov 13, 2023
@nicolay-r
Copy link
Owner Author

Won't be maintained

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers task
Projects
None yet
Development

No branches or pull requests

1 participant