ANNIS
ANNIS copied to clipboard
annotation-triggered search in grid view
When right-clicking on a cell in a grid, a context menu should appear giving the options: find all in this corpus, find all in selected corpora, find in a all corpora. The second option might ideally not be shown if only one corpus is selected. Choosing a menu item automatically implants AQL in the search box, searching for the key-value pair found in the grid cell, and carries out the search (user doesn't have to click show result again). For example, if the user sees an annotation "idiom" on the annotation level phrase_type, using the menu will cause a query phrase_type="idiom" to run on the relevant corpus/corpora.
I agree that some "right click" functionality would be great. Putting some technical issues aside (I doubt that it is actually possible what I am going to propose), it would be even cooler if you could select two neighboring annotations, do a right click and receive a kind of precedence query. (similarly for vertically aligned annotations across levels, which would give an i query).
probably very hard to implement, though.