use of com.graphaware.nlp.dsl.request.FilterRequest in project neo4j-nlp by graphaware.
the class AnnotateProcedure method filter.
@Procedure(name = "ga.nlp.filter", mode = Mode.WRITE)
@Description("Boolean filter for text accordingly to complex filter definition")
public Stream<SingleResult> filter(@Name("filterRequest") Map<String, Object> filterRequest) {
FilterRequest request = FilterRequest.fromMap(filterRequest);
Object result = getNLPManager().filter(request);
return Stream.of(new SingleResult(result));
}
Aggregations