Gideon : added nBestConfiguration to the JoshuaConfiguration that allows to specify the nBestFormat as "sparse" . Changed the JoshuaDecoder to enable outputting labeled feature values, as required by PROCore.java . Minor refactoring of PRO tuner, introduced some new methods for clearity, and some more informative error checking (e.g. when the sparse feature definintion file is not provided in mode > 1 , an informative error is generated. Also added an informative error message when the Classifier within the Optimizer class generates a list with NAN values (this happens when there is not enough data to do proper tuning with PRO)