select_tags: Select Tags + Words From tag_pos Object

Description Usage Arguments Value Examples

Description

Select part of speech tags and accompanying words.

Usage

1
select_tags(x, tags, negate = FALSE, regex = FALSE, ...)

Arguments

x

A tag_pos object or a named list of vectors.

tags

The tags (or regex of regex = TRUE to select.

negate

logical. If TRUE and regex = FALSE the tags not matching tags are returned.

regex

logical. If TRUE then tag will be grepped for as a regex.

...

Other arguments passed to grepl.

Value

Returns a list of selected part of speech tagged vectors.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21

trinker/tagger documentation built on May 31, 2019, 10:42 p.m.