insert new document for testinginsert new token for testingmatrix Bthis time, did not reuse the dictionary tokensmatrix Ajoin the depivoted frequency table with token dictionaryOccurrence * Joy<br>Occurrence * Sadnesswegithed total (sum) for joy and sadnessMultiply A x BInputProcessing<br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> make sure the columns in matrix A has the same order as the rows in column B<br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br/><br/>Weighted total by aggretion all tokens shown in your dictionary