Thanks for your interest and help.
I built a Kernel SVM classifier with 30,000 rows of the training dataset by software R.
I used around 2,000-word features to train the classifier. It worked very well.
But, when I am trying to apply the classifier to a new text dataset, the problem occurred.
Because the new text document-term matrix does not contain all 2000-word features in the classifier (columns).
Of course, I can build a classifier with a small number of word features. Then, it works on the new text data, but the performance is not that good.
How do you solve this problem?
So, how do you solve the problem that the new text dataset does not have all the word features in the SVM classifier?