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

Highlight function doesn't cover whole match/context #97

Open
margaretha opened this issue Nov 3, 2023 · 1 comment
Open

Highlight function doesn't cover whole match/context #97

margaretha opened this issue Nov 3, 2023 · 1 comment
Labels

Comments

@margaretha
Copy link
Contributor

For the query:

"für" []{20,25} "uns" </s>

Du nicht zu uns should actually also be highlighted in the match below:

image

@margaretha margaretha added the bug label Nov 3, 2023
@Akron
Copy link
Member

Akron commented Nov 3, 2023

The reason it's not highlighted, is because for snippet-length reasons we cut on the match not only on the context. But I agree that this specific incident looks weird and we should look into it.

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