Function which finds tokens that exsist in document B which do not exisit in document A then adds them with a frequency of the smoothing factor to an updated list of tokens and frequencies for each document. The relative frequency is then calculated
1 | findUnique(wordFreq1, names2)
|
names2, |
the names of a vector which correspond to the tokens of another word frequency data structure (for efficency) |
wordFreqA, |
a word frequency data structure that you want to find the unique tokens from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.