## Not run: ------------------------------------
# # load the annotation engine (can also use spaCy and coreNLP backends)
# setup_tokenizers_backend()
# init_backend(type = "tokenizers")
#
# # annotate your text
# annotation <- annotate("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)
## ---------------------------------------------
Run the code above in your browser using DataLab