Annotald / annotald

A program for annotation in the Penn Treebank format
GNU General Public License v3.0
8 stars 4 forks source link

deletes ID line #100

Open cdsapp opened 2 years ago

cdsapp commented 2 years ago

Running on Mac OS Monterrey, python 2.7.18. Of the 8 sentences I have annotated so far using Annotald, three of them have lost the ID line. The input looked like: ( (IP-IMP (HVI habt) (NP-OB1 (N erbarmung)) (PP (P vber) (NP (NP (PRO mich)) (CONJP (CONJ vnd) (NP (PRO$ meinen) (N sone))))) (, /) (META .)) (ID 1533_Rodler_Fierrabras_Moselfrk.,85))

And Annotald save it like: ( (IP-IMP-SPE (HVI habt) (NP-OB1 (N erbarmung)) (PP (P vber) (NP (NP (PRO mich)) (CONJP (CONJ vnd) (NP (PRO$ meinen) (N sone))))) (, /) (META .)))

The only thing I suspect is that in 2 of the 3, I changed the root note (adding -SPE).

beatrice57 commented 2 years ago

can you confirm by deleting the -spe?

On Apr 28, 2022, at 11:22 AM, cdsapp @.***> wrote:

Running on Mac OS Monterrey, python 2.7.18. Of the 8 sentences I have annotated so far using Annotald, three of them have lost the ID line. The input looked like: ( (IP-IMP (HVI habt) (NP-OB1 (N erbarmung)) (PP (P vber) (NP (NP (PRO mich)) (CONJP (CONJ vnd) (NP (PRO$ meinen) (N sone))))) (, /) (META .)) (ID 1533_Rodler_Fierrabras_Moselfrk.,85))

And Annotald save it like: ( (IP-IMP-SPE (HVI habt) (NP-OB1 (N erbarmung)) (PP (P vber) (NP (NP (PRO mich)) (CONJP (CONJ vnd) (NP (PRO$ meinen) (N sone))))) (, /) (META .)))

The only thing I suspect is that in 2 of the 3, I changed the root note (adding -SPE).

— Reply to this email directly, view it on GitHub https://github.com/Annotald/annotald/issues/100, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLNYFPKT4S7VD7HZQ5GKFTVHKUMZANCNFSM5USZKTCQ. You are receiving this because you are subscribed to this thread.

cdsapp commented 2 years ago

deleting -spe didn't restore the ID to the previous example. BUT, I added -spe to two other tokens; this deleted the ID of one but not the other: ( (CP-QUE-SPE (WADVP-1 (ADV+P-interrogative wo)) (C 0) (IP-SUB (ADVP T-1) (MDPI^1^SG sol) (NP-SBJ (PRO ich)) (ADVP (ADV dan)) (ADV+P-prep hin) (VB wandern)) (, /) (META ?)))

( (IP-MAT-SPE (ADVP (PRO jr)) (MD-finite moegent) (ADVP (ADV doch)) (ADVP (ADV jetzunt)) (ADVP (ADV wol)) (NP-OB1 (ONE eynen) (INDPRO andern)) (VB finden) (, /) (META ,) (CP-REL (WNP-1 (D^N der)) (C 0) (IP-SUB (NP-SBJ T-1) (NP-OB1 (D diß)) (VB-finite volbring))) (, /) (META .) (PUNCQR ")) (ID 1533_Rodler_Fierrabras_Moselfrk.,92))

beatrice57 commented 2 years ago

hmm, then i don’t know. unfortunately, i don’t use annotald, and i’m not sure it’s being maintained.

i’m cc’ing lisa gotthard to see if she’s ever run into the same problem.

good luck!

On Apr 28, 2022, at 1:34 PM, cdsapp @.***> wrote:

deleting -spe didn't restore the ID to the previous example. BUT, I added -spe to two other tokens; this deleted the ID of one but not the other: ( (CP-QUE-SPE (WADVP-1 (ADV+P-interrogative wo)) (C 0) (IP-SUB (ADVP T-1) (MDPI^1^SG sol) (NP-SBJ (PRO ich)) (ADVP (ADV dan)) (ADV+P-prep hin) (VB wandern)) (, /) (META ?)))

( (IP-MAT-SPE (ADVP (PRO jr)) (MD-finite moegent) (ADVP (ADV doch)) (ADVP (ADV jetzunt)) (ADVP (ADV wol)) (NP-OB1 (ONE eynen) (INDPRO andern)) (VB finden) (, /) (META ,) (CP-REL (WNP-1 (D^N der)) (C 0) (IP-SUB (NP-SBJ T-1) (NP-OB1 (D diß)) (VB-finite volbring))) (, /) (META .) (PUNCQR ")) (ID 1533_Rodler_Fierrabras_Moselfrk.,92))

— Reply to this email directly, view it on GitHub https://github.com/Annotald/annotald/issues/100#issuecomment-1112483485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLNYFKZSL5TBG43HQX5AYTVHLDZ5ANCNFSM5USZKTCQ. You are receiving this because you commented.

cdsapp commented 2 years ago

No problem-- I'll just add the -spe by hand before loading the text. I just thought I'd post here in case I'm doing something wrong...

cdsapp commented 1 year ago

We got to the bottom of this: the ID line is deleted if you left-click on the root node (left-most bar). It's OK, though, if you click on some other constituent and right-click on the root node to move the constituent there.