An NPE is undoubtedly a bug, do you have a stack trace?
Beyond that Robin et al would have to comment.

On Thu, Feb 18, 2010 at 10:12 AM, Loek Cleophas
<[email protected]> wrote:
> In training, this works fine.  In testing, it crashes TestClassifier with a
> null pointer exception. I presume that is because either the file name does
> not match category.txt for some category name, or because there's multiple
> categories being used inside the single file - but I also presume that
> neither should crash the thing :) It also brings up the question: if the
> line format in the data files has the category in there, then why are the
> file names relevant at all? Seems like redundancy to me. Shouldn't
> TestClassifier merely take all .txt files in the input data directory and
> process their contents?

Reply via email to