705
06-26-2006, 03:29 AM
Hi, I'm a newbie...so please be gentle
Sorry if my post is a little bit innapropriate...
I got a problem...
I'm building a java-based Bayesian email filtering. The filters require training set for the learning phase. It require to store every word contained in the training set. I don't have the exact number of the word but the number of the training set(which is an email) is 4000(so I guess the word will be hundreds thousand).
I store the word in Vector.Every word kept in the vector is an object of class Word. I run the training and there it goes the mighty memory out of bound exception.
Is there any solution for my problem?
What is the limit number of an vector?
Thx for any reply
sorry for bad english....:)
Sorry if my post is a little bit innapropriate...
I got a problem...
I'm building a java-based Bayesian email filtering. The filters require training set for the learning phase. It require to store every word contained in the training set. I don't have the exact number of the word but the number of the training set(which is an email) is 4000(so I guess the word will be hundreds thousand).
I store the word in Vector.Every word kept in the vector is an object of class Word. I run the training and there it goes the mighty memory out of bound exception.
Is there any solution for my problem?
What is the limit number of an vector?
Thx for any reply
sorry for bad english....:)