select_frog: Select items from a frog object

Description Usage Arguments Value Examples

Description

Select items from a frog object

Usage

1
2
select_frog(dtfrog, select = list(docids = NULL, majorpos = NULL, words =
  NULL, lemmas = NULL, logic = "OR"))

Arguments

dtfrog

a frog data.table object

select

a named list of vectors with elements to exclude; valid elements are 'docids', 'majorpos', 'words' and 'lemmas'.

Value

A filtered frog data.table object

Examples

1
2
3
4
## Not run: 
dtfrog.filtered <- filter_frog(dtfrog, exclude = list(majorpos=c("LET")))

## End(Not run)

davidmacro/frog2features documentation built on Oct. 27, 2021, 12:17 a.m.