Learn R Programming

finnsurveytext (version 2.1.1)

fst_get_unique_ngrams_separate: Get unique n-grams from separate top n-grams tables

Description

Takes at least two separate tables of n-grams and frequencies (either output of `fst_freq_table()` or `fst_ngrams_table()`) and finds n-grams unique to one table.

Usage

fst_get_unique_ngrams_separate(table1, table2, ...)

Value

Dataframe of words and whether word is unique or not.

Arguments

table1

The first n-grams table.

table2

The second n-grams table.

...

Any other n-grams tables you want to include.

Examples

Run this code
top_child <- fst_freq_table(fst_child)
top_dev <- fst_freq_table(fst_dev_coop)
fst_get_unique_ngrams_separate(top_child, top_dev)

Run the code above in your browser using DataLab