# NOT RUN {
# }
# NOT RUN {
# load the annotation engine (can also use spaCy and coreNLP backends)
setup_tokenizers_backend()
init_backend(type = "tokenizers")
# annotate your text
annotation <- run_annotators("path/to/corpus/directory")
# pull off data tables
token <- get_token(annotation)
dependency <- get_dependency(annotation)
document <- get_document(annotation)
coreference <- get_coreference(annotation)
entity <- get_entity(annotation)
sentiment <- get_sentence(annotation)
vector <- get_vector(annotation)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab