Pre-processing and output generator for ShARe/CLEF 2014