korpling / ANNIS

ANNIS is an open source, versatile web browser-based search and visualization architecture for complex multilevel linguistic corpora with diverse types of annotation.
http://corpus-tools.org/annis/
Apache License 2.0
68 stars 25 forks source link

annotation-triggered search in grid view #82

Open amir-zeldes opened 11 years ago

amir-zeldes commented 11 years ago

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.

ruettet commented 11 years ago

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.