Comments (5)
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.
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.
As for generating the companion data (i.e. lemmas), you can use the code from UDPipeWrapper.
from perin.
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.
Merged into the main branch [#9], closing.
from perin.
Related Issues (16)
- colab typo HOT 1
- 'combined'? HOT 4
- filter_nonalnum HOT 1
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 1
- training the UCCA model with other languages HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: '../data/mrp/2020/cl/training/ucca.deu_train.mrp'
- combined_deu.mrp HOT 2
- OSError: Model name 'xlm-roberta-base' was not found in model name list HOT 2
- large_ucca vs. base_ucca HOT 2
- RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cublasSgemmStridedBatched( handle, opa, opb, m, n, k, &alpha, a, lda, stridea, b, ldb, strideb, &beta, c, ldc, stridec, num_batches)` HOT 1
- inference
- one of the words in the sentence disappears from the parsed graph
- Solving SAT takes forever HOT 2
- Demo no longer works
- parsing error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perin.