nl_tokens: Detect delimiter of input algorithm : if numtabs > = numrows then TSV else CSV
pl_tokens: function detectDelimiter ( input ) { var numRows = input . split ( / \r\n|\r|\n / ) . length ; var numTabs = <mask> . replace ( tabRegex , "" ) . length ; if ( numTabs >= numRows - 1 ) { return "\t" ; } else { return "," ; } }