Description Usage Arguments Examples
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. It is very common that in order to exclude some tokens we can just define some regular expression patterns which do the job, after which we pass the results onward.
1 |
corpus |
This is a data frame which contains column 'Token'. |
regex |
This is a regex one searches wants to exclude |
1 | corpus %>% find_token(".+ter$") %>% exc_token("^a.+")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.