changes to Mallet to support pruning features by document frequency count, exposing values inside model, and customizing output