fst_cn_get_unique {finnsurveytext} | R Documentation |
Concept Network- Get Unique Nodes
Description
Takes at least two tables of nodes and pagerank (output of 'fst_cn_nodes()') and finds nodes unique to one table.
Usage
fst_cn_get_unique(table1, table2, ...)
Arguments
table1 |
The first table. |
table2 |
The second table. |
... |
Any other tables you want to include. |
Value
Dataframe of words and whether word is unique or not.
Examples
cb <- conllu_cb_bullying_iso
pos_filter = c("NOUN", "VERB", "ADJ", "ADV")
e1 <- fst_cn_edges(cb, "lyödä", pos_filter = pos_filter)
e2 <- fst_cn_edges(cb, "lyöminen", pos_filter = pos_filter)
n1 <- fst_cn_nodes(cb, e1)
n2 <- fst_cn_nodes(cb, e2)
fst_cn_get_unique(n1, n2)
[Package finnsurveytext version 1.0.0 Index]