Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoNLLU-Plus, additional columns deleted #48

Open
FedeIure opened this issue Feb 18, 2025 · 3 comments
Open

CoNLLU-Plus, additional columns deleted #48

FedeIure opened this issue Feb 18, 2025 · 3 comments

Comments

@FedeIure
Copy link

I am experiencing some difficulties while annotating a text in a file with more than the regular 10 UD columns (CoNLLU-Plus).
When saving the file, the additional columns do not appear anymore; is there any chance to keep them after the annotation?

Thanks!

@jheinecke
Copy link
Member

Can you post me the beginning of your file (header + first sentence) so I can try to reproduce your error and fix the bug ?

@FedeIure
Copy link
Author

Sure! Please, see here below:

# sent_id = PlAmphi-L-01-858
# text = paene ecfregisti fatue foribus cardines
1	paene	paene	ADV	M	Degree=Pos	_	_	_	CitationHierarchy=Versus_1026	i	PlAmphi-L-01-858	8354	lilaLemma:115620	TokenURI=http://lila-erc.eu/data/corpora/Lasla/id/corpus/PlautusAmphitruo/Plautus_Amphitruo_PlAmphi.BPN_t_0008354
2	ecfregisti	effringo	VERB	B3	Aspect=Perf|InflClass=LatX|Mood=Ind|Number=Sing|Person=2|Tense=Past|VerbForm=Fin|Voice=Act	_	_	_	CitationHierarchy=Versus_1026	v3	PlAmphi-L-01-858	8355	lilaLemma:100669	TokenURI=http://lila-erc.eu/data/corpora/Lasla/id/corpus/PlautusAmphitruo/Plautus_Amphitruo_PlAmphi.BPN_t_0008355
3	fatue	fatuus	ADJ	C1	Case=Voc|Degree=Pos|Gender=Masc|InflClass=IndEurO|Number=Sing	_	_	_	CitationHierarchy=Versus_1026|LASLAVariant=2	n6	PlAmphi-L-01-858	8356	lilaLemma:104191	TokenURI=http://lila-erc.eu/data/corpora/Lasla/id/corpus/PlautusAmphitruo/Plautus_Amphitruo_PlAmphi.BPN_t_0008356
4	foribus	foris	NOUN	A3	Case=Abl|Gender=Fem|InflClass=IndEurI|Number=Plur	_	_	_	CitationHierarchy=Versus_1026|LASLAVariant=1	n3	PlAmphi-L-01-858	8357	lilaLemma:103628	TokenURI=http://lila-erc.eu/data/corpora/Lasla/id/corpus/PlautusAmphitruo/Plautus_Amphitruo_PlAmphi.BPN_t_0008357
5	cardines	cardo	NOUN	A3	Case=Acc|Gender=Masc|InflClass=IndEurX|Number=Plur	_	_	_	CitationHierarchy=Versus_1026	n3	PlAmphi-L-01-858	8358	lilaLemma:92844	TokenURI=http://lila-erc.eu/data/corpora/Lasla/id/corpus/PlautusAmphitruo/Plautus_Amphitruo_PlAmphi.BPN_t_0008358

@jheinecke
Copy link
Member

I see the problem: if your file is not in standard CoNLL-U format you need to define the columns you use (even if it is CoNLL-U plus some additional columns. Add the following line at the very top of your file

# global.columns = ID FORM LEMMA UPOS XPOS FEATS HEAD DEPREL DEPS MISC COL11 COL12 COL13 LILALEMMA TOKEN

(I do nont know the meaning of your columns, so you may rename them.)

Restart conlluEditor and all will be shown in the editor (and can be modified). Hower since the contents of your additional columns is very large, it does not look very nice in the tree/flat view (table view is better though). I'll think on an improvement for this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants