How to print out to a file using Standford Classifier
I don't have experience with Stanford Classifier, but if it is sending output to stdout that you would like to capture, you can simply pipe the output to a file. You didn't mention an OS, but on most the &gt; operator is used to redirect stdout to a file.

For example, if you are running Standard Classifier like this:

java -cp stanford-classifier.jar [option...]


You can instead run it like this to output to a file:

java -cp stanford-classifier.jar [option...] &gt; my-output.tsv