[
https://issues.apache.org/jira/browse/ANY23-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612165#comment-16612165
]
ASF GitHub Bot commented on ANY23-396:
--------------------------------------
Github user HansBrende commented on a diff in the pull request:
https://github.com/apache/any23/pull/121#discussion_r217041561
--- Diff:
core/src/main/java/org/apache/any23/extractor/SingleDocumentExtraction.java ---
@@ -483,6 +488,14 @@ private SingleExtractionReport runExtractor(
documentReport.getDocument(),
extractionResult
);
+ } else if (extractor instanceof ModelExtractor) {
+ final ModelExtractor modelExtractor = (ModelExtractor)
extractor;
+ final Model singleModel = BufferedTripleHandler.getModel();
--- End diff --
Should not be static.
> Add ability to run extractors in flow
> -------------------------------------
>
> Key: ANY23-396
> URL: https://issues.apache.org/jira/browse/ANY23-396
> Project: Apache Any23
> Issue Type: Improvement
> Components: core
> Affects Versions: 2.2
> Reporter: Jacek Grzebyta
> Assignee: Jacek Grzebyta
> Priority: Minor
>
> Currently extractors do not work in flows. I.E. Next extractor has no any
> access to triples made by previous one.
> It would be useful if an extractor has possibility to modify triples created
> by another extractor.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)