View source: R/isolate_branches.r
get_branch_id | R Documentation |
After splitting trees into branches
get_branch_id(tokens)
tokens |
A tokenindex |
the tokenindex
tokens = tokens_spacy[tokens_spacy$doc_id == 'text4',] tokens = as_tokenindex(tokens) tokens2 = isolate_branch(tokens, relation = 'relcl', copy_parent = TRUE) get_branch_id(tokens2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.