Parser implemented using the Parsec library for reading from files in the format used by SVMLight.
Currently assumes your file is a text file in Unix format. The extra characters in Windows text files confuse it.
Copyright (C) 2011 Sean Holden. firstname.lastname@example.org.
Parse a file in SvmLight format and print some information about it.
Read examples from a file in SvmLight format and produce a corresponding matrix and vector, for a classification problem. Includes checks that all examples have the same number of attributes, and that the file does in fact correspond to a classification problem.