conllueditor icon indicating copy to clipboard operation
conllueditor copied to clipboard

CoNLLU-Plus, additional columns deleted

Open FedeIure opened this issue 1 year ago • 5 comments

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!

FedeIure avatar Feb 18 '25 14:02 FedeIure

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

jheinecke avatar Feb 19 '25 15:02 jheinecke

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

FedeIure avatar Feb 21 '25 09:02 FedeIure

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.

jheinecke avatar Feb 21 '25 12:02 jheinecke

ok, thanks; any improvement on the visualization would be very welcome!

FedeIure avatar Mar 06 '25 11:03 FedeIure

It's already done, just make a git pull or download latest release!

jheinecke avatar Mar 08 '25 09:03 jheinecke