Read in a CONLL-U file as a data.frame
Read in a CONLL-U file as a data.frame
udpipe_read_conllu(file)
file |
a connection object or a character string with the location of the file |
a data.frame with columns doc_id, paragraph_id, sentence_id, sentence, token_id, token, lemma, upos, xpos, feats, head_token_id, deprel, dep_rel, misc
file_conllu <- system.file(package = "udpipe", "dummydata", "traindata.conllu") x <- udpipe_read_conllu(file_conllu) head(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.