Skip to contents

This function finds the tags missing from one vector and present in another.

Usage

missing_tags(vec1, vec2, regex = NULL, regex1 = NULL, regex2 = NULL, ...)

Arguments

vec1

A character vector of tagged text in tokenised form used for reference.

vec2

A character vector of tagged text in tokenised form to compare against vec1.

regex

A regular expression of the tag to be checked in both vectors.

regex1

The regular expression of the tag to search in vector 1.

regex2

The regular expression of the tag to search in vector 2.

...

Additional arguments to be passed on to the quick_conc output.

Value

A tibble showing the quick_conc concordance of the missing tags in vector 2 in comparison to vector 1.

Details

This function is used to compare the tagging results on the same text. The texts should be reduced to two vectors in tokenised form. The function produces concordance lines of where tags in vector one are missing from the same index position in vector two. Both inputs should be exactly the same length.