View source: R/generic_reshape.r
unselect_nodes | R Documentation |
Not strictly required. Only available for elegance and minor memory efficiency
unselect_nodes(.tokens)
.tokens |
A tokenIndex in which nodes are selected with select_nodes. |
A tokenIndex (without a .nodes attribute)
tokens = tokens_spacy[tokens_spacy$doc_id == 'text4',]
tq = tquery(relation = "relcl", label = "relative_clause")
tokens = select_nodes(tokens, tq)
selected_nodes(tokens)
tokens = unselect_nodes(tokens)
is.null(attr(tokens, '.nodes'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.