Description Usage Arguments Value
Applies a user-defined filter to a set of sentences
1 | ApplyConllFilter(sents, filter_funct, return_type = "raw")
|
sents |
a vector of sentences |
filter_funct |
a user-defined filter function |
return_type |
'raw', 'matches', 'both', 'both_pretty': raw returns just a filtered vector, matches returns the actual words that matched, both returns matches and the conll input as a separate variable and both_pretty transforms the conll input to an ordinary human readable sentence |
depending on the return_type parameter, either a vector of sentences or a tibble of matches
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.