udpipe_read_conllu {udpipe} | R Documentation |
Read in a CONLL-U file as a data.frame
Description
Read in a CONLL-U file as a data.frame
Usage
udpipe_read_conllu(file)
Arguments
file |
a connection object or a character string with the location of the file |
Value
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
Examples
file_conllu <- system.file(package = "udpipe", "dummydata", "traindata.conllu")
x <- udpipe_read_conllu(file_conllu)
head(x)
[Package udpipe version 0.8.11 Index]