[ 
https://issues.apache.org/jira/browse/ANY23-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308913#comment-16308913
 ] 

ASF GitHub Bot commented on ANY23-321:
--------------------------------------

GitHub user lewismc opened a pull request:

    https://github.com/apache/any23/pull/56

    ANY23-321 Add openie toggle functionality to service

    This issue is a large step towards addressing 
https://issues.apache.org/jira/browse/ANY23-321
    I am however not able to currently register the OpenIEExtractor within the 
ExtractorGroup/Factory when undertaking an extractor. I've debugged this down 
to the code in the URLClassLoader.addURL of 
[Any23PluginManager](https://github.com/apache/any23/blob/master/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java#L453).
 The OpenIE JAR's are dynamically loaded however the Extractor implementation 
does not seem to be registered when the extraction is executed.
    
    @ansell if you are able to pull this code and debug it would be greatly 
appreciated. I have specific lines for debugging if this would be helpful. 
Thank you in advance for any assistance here.
    
    P.S. you will also see that I've been making attempts to update the [plugin 
documentation](http://any23.apache.org/any23-plugins.html). 
    
    P.P.S I actually remember encountering a similar issue previously when 
attempting to register a plugin via the command line... I think dynamic 
ClassLoading is broken in Any23 right now. I am keen to fix it so any help here 
is appreciated folks.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lewismc/any23 ANY23-321

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/any23/pull/56.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #56
    
----
commit 706e891cf582736f90cfbe83bc1ef5d629e6dfd7
Author: Lewis John McGibbney <lewis.mcgibbney@...>
Date:   2018-01-03T00:05:39Z

    ANY23-321 Add openie toggle functionality to service

----


> Add openie toggle functionality to service
> ------------------------------------------
>
>                 Key: ANY23-321
>                 URL: https://issues.apache.org/jira/browse/ANY23-321
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: openie, service
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 2.2
>
>
> This issue is to add new functionality which provides an on-off switch for 
> running the openie module in addition to existing extractions. Basically 
> replicating the 'Report' or 'Annotate' check boxes would be ideal.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to