Hi,
I have attached my file. I am afraid *I *cannot share my csv file .
The problem is that whenever some new tokens appear in the "test.token" its giving an error message. New words/tokens are likely to occur in test data ,so there should be some function to check that or may be ignore the tokens which dont match with those available in the "train.tokens".
Error message:
Error in eval(predvars, data, env) : object 'x' not found
(x : the new token found in the test.token)
(Attachment doubt.txt is missing)