Performs a very naive guess of the DelimitedFormat.
Performs a very naive guess of the DelimitedFormat. This uses weighted frequencies of occurences of common separators, row-delimiters, quotes, quote escapes, etc. and simply selects the max for each.
This supports:
* \r\n and \n as row delimiters, * ',', '\t', ';', and '|' as field delimiters, * '"', and as quote delimiter, * the quote delimiter or \ for quote escapes.
Makes a guess at the format of the CSV accessed by reader
.
Makes a guess at the format of the CSV accessed by reader
. This returns
the format, as well as the a new pushback reader to be used in place of
reader
. The original reader will have some data read out of it. The
returned reader will contain all the original reader's data.
Returns a stream of weighted candidate DelimitedFormats, in order of the
belief that they'll parse str
successfully.
Rank parse results based on some super subjective criteria.
Rank parse results based on some super subjective criteria. We prefer results whose rows generally have a uniform number of columns, but aren't too thin, either column-wise or row-wise.