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

Rupert Westenthaler commented on STANBOL-1132:
----------------------------------------------

Hi Cristian, 

after applying your patch I see failing Tests. See the following example.

    
testSerializationAndParse(org.apache.stanbol.enhancer.nlp.json.valuetype.CorefFeatureSupportTest)
  Time elapsed: 0.002 sec  <<< FAILURE!
    java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at 
org.apache.stanbol.enhancer.nlp.json.valuetype.CorefFeatureSupportTest.testSerializationAndParse(CorefFeatureSupportTest.java:66)

As far as I can see the serialized Text does match the 'jsonCorefCheckObama' 
and 'jsonCorefCheckHe' only if I remove all '\r' entries from the fields. This 
might be a OS specific Issue. The same is also true for the 
org.apache.stanbol.enhancer.nlp.json.valuetype.DependencyRelationSupportTest.

For now I removed all '\r' in my local version, but I think this will not solve 
this problem as this is most likely an OS specific issue. Can you please update 
the test so that it does not depend on the line separator(s) used by the OS

best
Rupert


> Add co-reference resolution and dependency tree support in the Stanbol NLP 
> processing API
> -----------------------------------------------------------------------------------------
>
>                 Key: STANBOL-1132
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1132
>             Project: Stanbol
>          Issue Type: New Feature
>          Components: Enhancement Engines
>            Reporter: Cristian Petroaca
>            Assignee: Rupert Westenthaler
>              Labels: co-reference, dependency-tree, nlp
>         Attachments: coref_dependency_tree_datamodel.patch, 
> coref_dependency_tree_datamodel_vers_2.patch, 
> coref_dependency_tree_vers_3.patch
>
>
> Extend the Stanbol NLP Processing API with annotations for co-reference 
> resolution and dependency trees.
> Also, add support for JSON Serialisation/Parsing for the co-reference and 
> dependency tree annotations so that the RESTful NLP Analysis Service can 
> provide co-reference information.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to