assign_polarity: Filter out stopwords, assign polarity to terms from...

Description Usage Arguments Value See Also

Description

Filter out stopwords, assign polarity to terms from target_column. Makes use of wc_plotter.

Usage

1
assign_polarity(x, target_column, stopwords_dict = stop_d)

Arguments

x

dataframe with column of interest.

target_column

number of the column in x containing data being assigned polarity.

stopwords_dict

dictionary of stopwords e.g. tibble::tibble(stopwords::stopwords(source="stopwords-iso"))

Value

A dataframe containing 5 columns including the polarity of target_column's words.

See Also

wc_plotter


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.