odinson icon indicating copy to clipboard operation
odinson copied to clipboard

Support queries over a single document in odinson's API

Open hillelt opened this issue 6 years ago • 1 comments

When developing an extractor for a relation, analysts often write patterns to match specific example sentences they've gathered in advance. To allow quick feedback, it would be nice if Odinson had the ability to run a pattern against a specific sentence or document, in their raw text form.

A possible solution would be to add an API call which takes as input a query and a text document, indexes the doc in-mem and runs the query against the in-mem index.

hillelt avatar Mar 27 '19 08:03 hillelt

FWIW that's what I do in the OdinsonWebapp -- using an in-mem index

BeckySharp avatar Jul 17 '20 16:07 BeckySharp