Giter VIP home page Giter VIP logo

Comments (8)

jcklie avatar jcklie commented on June 11, 2024

Hello,
thank you for using cassis and reporting this issue. Can you tell me which version you are using and send me a minimal typesystem and CAS which triggers the bug?

from dkpro-cassis.

reckart avatar reckart commented on June 11, 2024

uima.cas.TOP doesn't have a feature called sofa - it is only introduced by uima.cas.AnnotationBase.

from dkpro-cassis.

Br0ce avatar Br0ce commented on June 11, 2024

Thx for fast reply,

I will assemble a minimal typesystem.

Meanwhile, with regard to @reckart, it should not be an AttributeError, that Type uima.cas.TOP doesn't have an attribute sofa.

( In this case, as far as I can see, in Cas.add_annotations
if hasattr(annotation, "sofa"): should be False )

from dkpro-cassis.

Br0ce avatar Br0ce commented on June 11, 2024

Hi @jcklie,
I'm using dkpro-cassis version 0.1.1.
Attached to this post is a TypesSystem and a XMI (extended filename by .txt to support upload).
Deserializing the XMI raises the AttributeError.
Thx
TypeSystem.xml.txt
Example.cas.xmi.txt

from dkpro-cassis.

jcklie avatar jcklie commented on June 11, 2024

In 0.2.0-rc1, this works for me except that you redefine DocumentAnnotation, which I need to fix (see #12).

from dkpro-cassis.

Br0ce avatar Br0ce commented on June 11, 2024

Ah, ok. All good now.
Thank you.

from dkpro-cassis.

jcklie avatar jcklie commented on June 11, 2024

I will fix #12 this week or so and then you can try the next release candidate.

from dkpro-cassis.

Br0ce avatar Br0ce commented on June 11, 2024

appreciate!

from dkpro-cassis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.