Closed HedvigS closed 8 months ago
For myself, I've written a little script now that checks each conllu file, if it's got "sent_id" in it they are all replaced with "sentence_id". Hacky workaround, but will work (fingers crossed) :)
Hm... right. When I tried reading in a few that used "sent_id" then udpipe_read_conlli" didn't work. I changed to sentence_id and then it did work. That's a bit odd then.
I'll do some more bug testing.
Can you provide a reproducible example?
Can you provide a reproducible example?
I'm sorry to have bothered you, I just tried it again and the problem is something else. I was mistaken in thinking it was about "sent_id" vs "sentence_id". Sorry and thank you for your patience and for this wonderful package!
Sometimes some conllu files use
sent_id
instead of the more commonsentence_id
.Could
udpipe.:udpipe_read_conllu()
please be configured to handle both cases.Love the package otherwise, great stuff!