szabyg/vie-annotation-bookmarklet

feature: Filter results at bookmarklet config?

Opened this issue · 1 comments

a simple filter possibiblity e.g. to just show annotations of type:person or place, or for a confidence threshold (see also: szabyg/annotate.js#6) could be useful for the bookmarklet as we've seen, that some enhancement engines produce lots of enhancements.

Such filters could be made at several levels:

  • at the bookmarklets creation (seems to be the easiest way, but only for demo purposes)

  • at the annotate.js (probably the best place for a productive scenaro)

  • at the engines level itself ? (out of scope from the perspective of the frontend)

    I would like to use it at the bookmarklet level for the DEMOs! ;-)

typeFilter should then become a bookmarklet option being forwarded to annotate.js that might forward it to vie or do the filtering on itself.. So it requires to change 2 components at least. Considering..