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

New view option for single results: Table View #736

Open
lehmannx opened this issue Oct 14, 2021 · 0 comments
Open

New view option for single results: Table View #736

lehmannx opened this issue Oct 14, 2021 · 0 comments

Comments

@lehmannx
Copy link

Is your feature request related to a problem? Please describe.
We use ANNIS to search and visualize our data / annotations and often we need to look at a large part of the context before and after the keyword or key annotation. Right now, ANNIS is not very practical for this.

For instance, we want to search for a specific type of construction and then analyse the referent status involved – to do so, we need to know whether the referent was mentioned in the previous couple of sentences. It is often necessary to understand the context for many research questions and a left-to-right view is not practical for this kind of task.

Right now, we can choose the "Show context" option for sentence layer segmentations and see multiple sentences to the left of the construction at issue. However, this means we need to scroll left and right multiple times and can never view the whole part of the conversation at once (because the screen only has so much left-right space). Also, it is slightly unnatural to read a longer stretch of text from left to right only. In TüNDRA, for example, you get a sentence in context view, but even that is not perfect.

Describe the solution you'd like
A fantastic option would be the ability to get a new view option for single results. I imagine to start off with the same KWIC search we have now, but with a button that let's me "go into" each single result. So when my search returns 20 results, I can select result 1 and get a new view for this single result only. This view could be something like a table where I can select the annotation spans that the table will be based on. In one case, I would then choose the sentence annotation and get all the tokens in that annotation span in one column. Other columns could have more information, such as the speaker ID for that sentence span. There could even be a way to jump to the next search result straight from this view.

Other solution
Another solution could be a similar view as for the discourse analysis. But viewing the whole text with all tokens just concatenated is not very user-friendly. There would have to be some kind of one annotation span per line option (e.g. whether you want text-level, token-level or any sub-level).

Additional context
The TüNDRA sentence view is a good simple example for what works. The DGD transcript view is a also good example of the top-down context view suggested. The DGD even has a new ZuMult viewer with a quick option to look at the annotations for each span (even if it is not the search result).

I know this is a big request and I don't think this will be easy (or quick) to integrate (if at all). But from a user-perspective, you might find this is something many users will appreciate.

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