Description Usage Arguments Examples
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 | simpleMaths(wordFrequenciesA, wordFrequenciesB, smoothingFactor)
|
wordFrequenciesA, |
a wordFrequency list, generated by this package |
wordFrequenciesB, |
another word frequency list for reference |
smoothingFactor, |
the number used when the frequency of a word is zero and also the smooting factor |
1 | frequencies(wordFreqA, wordFreqB, 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.