tCorpus-cash-udpipe_clauses: Add columns indicating who did what

tCorpus$udpipe_clausesR Documentation

Add columns indicating who did what

Description

An off-the-shelf application of rsyntax for extracting subject-verb clauses. Designed for working with a tCorpus created with udpipe_tcorpus.

Arguments

column

The name of the column in $tokens to store the results.

tqueries

A list of tQueries. By default uses the off-the-shelf tqueries in udpipe_clause_tqueries

Value

a tCorpus

Examples


tc = tc_sotu_udpipe$copy()
tc$udpipe_clauses()
if (interactive()) {
  tc_plot_tree(tc, token, lemma, POS, annotation='clause')
  browse_texts(tc, rsyntax='clause', value='subject')
}


corpustools documentation built on May 31, 2023, 8:45 p.m.