tCorpus$udpipe_coref {corpustools}R Documentation

Perform rule based coreference resolution

Description

This is an experimental implementation of coreference resolution, aimed at coreferences of nouns and pronouns.

Arguments

keep_feats

If TRUE, keep the feature columns created for the coref resolution

rm_unique

If TRUE, remove unique coref ids (i.e. if )

Value

a tCorpus

Examples

tc = tc_sotu_udpipe$copy()
tc$udpipe_quotes()
## Not run: 
 tc$udpipe_coref()
 tc$tokens[!is.na(tc$tokens$coref_id),]

## End(Not run)

[Package corpustools version 0.4.10 Index]