Script to parse BoW files and writes them in the appropriate format for LibSVM