I am trying to run the code for lrec2020-pat on my dataset
but it seems that it go into infinet loop in function
is_projective(sentence)
in colln.py
here->
unassigned = {
entry.id: sum(1 for e in sentence if e.head == entry.id)
for entry in sentence
}
I am trying to run the code for lrec2020-pat on my dataset but it seems that it go into infinet loop in function is_projective(sentence) in colln.py here-> unassigned = { entry.id: sum(1 for e in sentence if e.head == entry.id) for entry in sentence }
What do you think the reason is?