### The exception below is only valid for the UK, where the original UDPipe output misses a dot at the end of the article, but the actor output does not
### (UK output is older than actor output, should be updated)
ud[,'actor']<-NA
markers<-which(str_detect(ud$lemma,coll("|||")))
ud[markers+1,'actor']<-T
ud<-ud[-markers,]
## The exception below is only valid for the UK, where the original UDPipe output misses a dot at the end of the article, but the actor output does not
## (UK output is older than actor output, should be updated)
if (length(ud_org$sentence_id)==length(ud$sentence_id)-1){
ud<-ud[-length(ud$sentence_id),]
}
if (length(ud_org$sentence_id)==length(ud$sentence_id)){