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

🔥 Provide function for customized spans construction [ARElight backlog] #23 #16

Closed
Tracked by #17
nicolay-r opened this issue Dec 28, 2024 · 0 comments
Closed
Tracked by #17
Assignees
Labels
enhancement New feature or request

Comments

@nicolay-r
Copy link
Owner

nicolay-r commented Dec 28, 2024

Solution: span type should be passed.

elif isinstance(part, Span):
entity_index = len(origin_entities)
parts_to_join.append(entity_placeholder_template.format(entity_index))
# Register entities information for further restoration.
origin_entities.append(part)

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

No branches or pull requests

1 participant