Extract Semantic Relations from Text by Querying and Reshaping Syntax
Add span quotes to a source-quote annotations
Use AND search in tquery
Annotate a tokenlist based on rsyntax queries
Annotate a tokenlist based on rsyntaxNodes
Annotate a tokenlist based on rsyntax queries
Apply queries created with tquery
Prepare a tokenIndex
A special NOT condition if depth > 1
Cast annotations to text
Chop of a branch of the tree
Have a node adopt its parent's position
Copy nodes
Copy nodes
Specify custom fill behavior
Specify custom fill behavior
Add the branch id as a column to the tokenindex
Get ids in various forms to extract token_ids
Transform the nodes to long format and match with token data
Isolate a branch in a dependency tree
Mutate nodes
Search for parents or children in tquery
Use NOT search in tquery
Use OR search in tquery
Pipe operator
Create an igraph tree from a sentence
S3 print for tQuery class
Remove fill
Remove nodes
Within a chain of reshape operations, reapply the tquery
Get the number of threads to be used by rsyntax functions
Apply tquery to initiate reshape operations
If select_nodes() is used, the selected nodes can be extracted with se...
Set number of threads to be used by rsyntax functions
Split conjunctions for dependency trees in Universal Dependencies
Subset a select_nodes selection
Create a full text browser with highlighted rsyntax annotations
Create a query for dependency based parse trees in a data.table (CoNLL...
Undo select_nodes
Various functions for querying and reshaping dependency trees, as for instance created with the 'spacyr' or 'udpipe' packages. This enables the automatic extraction of useful semantic relations from texts, such as quotes (who said what) and clauses (who did what). Method proposed in Van Atteveldt et al. (2017) <doi:10.1017/pan.2016.12>.