[
https://issues.apache.org/jira/browse/ANY23-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612163#comment-16612163
]
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_r217041300
--- Diff:
core/src/main/java/org/apache/any23/extractor/SingleDocumentExtraction.java ---
@@ -295,6 +294,12 @@ public SingleDocumentExtractionReport
run(ExtractionParameters extractionParamet
} finally {
try {
output.endDocument(documentIRI);
+
+ // in case of workflow flag release data from model
+ if
(extractionParameters.getFlag(ExtractionParameters.EXTRACTION_WORKFLOWS_FLAG)) {
+ BufferedTripleHandler.releaseModel();
--- End diff --
This should not be a static call.
> 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)