cleanNLP (version 1.10.0)

from_CoNLL: Reads a CoNLL-U or CoNLL-X File

Description

Takes an file saved in the CoNLL-U or CoNLL-X format and converts it into an annotation object. This is a lossy procedure, grabbing just tokenization, lemmatization, part of speech tags, and dependencies.

Usage

from_CoNLL(file)

Arguments

file

character vector giving the path to the file

Value

an annotation object with a single document

Examples

Run this code
# NOT RUN {
from_CoNLL(annotation, "/path/to/file.conll")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace