Re: [Classifier4j-devel] How to Classify Subject Field with defaultStopWords.txt
Status: Beta
Brought to you by:
nicklothian
From: Nick L. <ni...@ma...> - 2004-07-18 12:02:28
|
> for (int i=0; i<n; i++) { > > double result[] = new double[n]; > > result[i] = > sclassifier.classify(message[i].getSubject()); > > System.out.println("The Probability of the > message no. " + i + " is: " + result[i] ); > > > > } > I suspect his code isn't quite doing what you want it to do, either - the line double result[] = new double[n]; should probably be before the loop.... Nick |