find_token: find_token Function

Description Usage Arguments Examples

View source: R/find_token.R

Description

This function is equivalent to 'filter(grepl("regex", Token))', but demands less typing. It is convenient to use this function in a dplyr pipe after the data frame output of read_eaf() function. The results can be, as an example, piped into FRorpus() function in order to view the results in a Shiny application.

Usage

1
find_token(corpus = corpus, regex = "test")

Arguments

corpus

This is a data frame which contains column 'Token'.

regex

This is a regex one searches with

Examples

1
find_token("^nd.+")

langdoc/FRelan documentation built on May 20, 2019, 7:55 p.m.