negex_token_tagger: Compute Token Series

Description Usage Arguments Value

View source: R/negex.R

Description

Computes negated token series as a function of index, i.e. position of negation item.

Usage

1
negex_token_tagger(index, work_df, negex_depth)

Arguments

index

Position of negation item.

work_df

Working dataframe of NLP annotations.

negex_depth

Maximum distance from index to which negation will spread.

Value

Series of token positions within the working dataframe.


CEDARS documentation built on Feb. 7, 2021, 5:06 p.m.