Skip to contents

Prettify tokenized output

Usage

prettify(df, into = get_dict_features("ipa"), col_select = seq_along(into))

Arguments

df

A data.frame that comes out of rjavacmecab::cmecab(mode = "parse") or rjavacmecab::igo(mode = "parse").

into

Character vector that is used as column names of features.

col_select

Character or integer vector that will be kept in prettified features.

Value

A data.frame.