FilterConllRows: Filters a tibble representing a sentence and returns matches

Description Usage Arguments Value

View source: R/filtering.R

Description

Filters a tibble representing a sentence and returns matches

Usage

1
2
FilterConllRows(tab, column_name, column_val, use_regex = F,
  is_negative = F)

Arguments

tab

a conll represented sentence as a tibble OR a string representation of the sentence which will be converted to a tibble

column_name

e.g. POS, lemma

column_val

what the value of the column should be, e.g N, igrat'

use_regex

if false, exact matches will be searched, if true, regexes

is_negative

if True, will filter only rows NOT matching the condition

Value

a filtered tibble


utacorpora/depsearcheR documentation built on Sept. 21, 2019, 1:07 a.m.