Git Product home page Git Product logo

Comments (5)

foxik avatar foxik commented on July 17, 2024

David knows better, but my feeling is that we use the lemmas from the companion data. I.e., when constructing the rules for labels, we allow copying/modifying a corresponding lemma instead of a token (or other sources).

So either you need to lemmatize the data (you could use the UDPipe service, for example, we have the new Bert version trained on UD 2.6 running on https://lindat.mff.cuni.cz/services/udpipe/), or you could disable the usage of the lemma rules (and perform the lemmatization during the syntactic parsing).

from perin.

davda54 avatar davda54 commented on July 17, 2024

Yeah, the only problem is in the lemmatized tokens, which are used to create more efficient set of relative label rules -- so specifically, the absence of the companion data shouldn't impact UCCA parsing (but it will most likely negatively influence the accuracy of label prediction for the other frameworks).

I've quickly hacked a workaround to preprocess the data without a companion file into the branch no_lemmas.

from perin.

davda54 avatar davda54 commented on July 17, 2024

As for generating the companion data (i.e. lemmas), you can use the code from UDPipeWrapper.

from perin.

danielhers avatar danielhers commented on July 17, 2024

This makes a lot of sense. Thank you both for the quick solution!
Besides, it's good to know the new UDPipe is already usable, even if not yet offline.
I'll be happy to close the issue unless you want to keep it, e.g. for adding documentation about this option.

from perin.

davda54 avatar davda54 commented on July 17, 2024

Merged into the main branch [#9], closing.

from perin.

Related Issues (16)

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.