ilistForms: List word forms found by a logical condition

Description Usage Arguments Value

View source: R/scripts.R

Description

List all word forms from a parsed object that sarisfy a logical condition

Usage

1
ilistForms(parsed, where = "x$lemma==\"UNKNOWN\"")

Arguments

parsed

a parsed object

where

a character string containing a logical expression. The analysis list should be named x. E.g., if looking for all analyses with lemma "dog", the argument should be 'x$lemma=="dog"'

Value

a sorted string vector of all distinct word forms found. If the argument where is an empty string it is interpreted as no condition, and the output will contain all word forms present in parsed.


rushkin/parseR documentation built on May 17, 2019, 12:52 p.m.