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 |
... |
Additional search_features parameters. See |
[Package corpustools version 0.5.1 Index]