fst_get_unique_ngrams_separate {finnsurveytext}R Documentation

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, ...)

Arguments

table1

The first n-grams table.

table2

The second n-grams table.

...

Any other n-grams tables you want to include.

Value

Dataframe of words and whether word is unique or not.

Examples

top_child <- fst_freq_table(fst_child)
top_dev <- fst_freq_table(fst_dev_coop)
fst_get_unique_ngrams_separate(top_child, top_dev)

[Package finnsurveytext version 2.1.1 Index]