Skip to contents

This function tags by passives in text that has been previously _ST tagged, tokenized and tagged by the dtag_passives() function.

Usage

dtag_passives_by(x)

Arguments

x

A character vector of strings that have been tokenized and tagged with _ST tags.

Value

A character vector with passive <BYPA> tags added.

Details

The function replaces the <PASS> tag with <BYPA> if a "by" token is found within 1 to 3 tokens of the tagged passive.

Usually there is no need to run this function unless the dtag_passives(by = FALSE) has been run first.