some debugging to get stuff working
basic file for NB classifier
able to extract arrays
remove studies where no term appears at freq > thresh