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

Enumeration of sentences/paragraphs in base #2

Open
Akron opened this issue Apr 6, 2016 · 1 comment
Open

Enumeration of sentences/paragraphs in base #2

Akron opened this issue Apr 6, 2016 · 1 comment

Comments

@Akron
Copy link
Member

Akron commented Apr 6, 2016

To mimic the extension behaviour of Rabbid (s. screenshot), Krill needs to enumerate snippets, so it is possible to retrieve the next or the previous snippet of a matching snippet via the API. This is no problem with the current default settings of Kalamar (where snippets are retrieved as token ranges), but when supporting snippets in sentence or paragraph boundaries, snippet elements need to be enumerated separately. This is possible by adding attributes to the sentence and paragraph spans in base. However - this has the requirement that snippet elements do not allow gaps.

extension

@Akron
Copy link
Member Author

Akron commented Feb 8, 2017

In addition, this has the requirement that boundary elements are not allowed to be nested. The interesting thing here is, that these requirements may be identical for elements in distance spans (distances mimicing the behaviour of C2 distances).

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

1 participant