tCorpus$search_recode {corpustools}R Documentation

Recode features in a tCorpus based on a search string

Description

Search features (see search_features) and replace features with a new value

Usage:

## R6 method for class tCorpus. Use as tc$method (where tc is a tCorpus object).

search_recode(feature, new_value, keyword, condition = NA, condition_once = FALSE)

Arguments

feature

The feature in which to search

new_value

the character string with which all features that are found are replaced

query

See search_features for the query parameters

...

Additional search_features parameters. See search_features


[Package corpustools version 0.4.10 Index]