<commit_before>#!/usr/bin/python

import csv, sys
from collections import defaultdict

# file, col, write, delim, quote


print "\n file, col, write=w, delim, quote  \n"


if 1 < len(sys.argv):
	file = str(sys.argv[1])
else:
	exit('No filename given.') 

if 2 < len(sys.argv):
	arg2 = str(sys.argv[2])
	if arg2.startswith('t'):
		sample = True
		if arg2.find(",") != -1:
			bits = arg2[1:].split(",")
			scols = int(bits[0])
			ssize = int(bits[1])
		elif len(arg2[1:]) >0 :
			scols = int(arg2[1:])
			ssize = 5
		else:
			scols = 5
			ssize = 5<commit_msg>changed the little help text<commit_after>#!/usr/bin/python

import csv, sys
from collections import defaultdict

# file, col, write, delim, quote


print "\n file, col, write=w, delim, quote  or"
print "\n file t[cols][,rows]  \n"

if 1 < len(sys.argv):
	file = str(sys.argv[1])
else:
	exit('No filename given.') 

if 2 < len(sys.argv):
	arg2 = str(sys.argv[2])
	if arg2.startswith('t'):
		sample = True
		if arg2.find(",") != -1:
			bits = arg2[1:].split(",")
			scols = int(bits[0])
			ssize = int(bits[1])
		elif len(arg2[1:]) >0 :
			scols = int(arg2[1:])
			ssize = 5
		else:
			scols = 5
			ssize = 5
{'fraction_non_alphanumeric': 0.1871244635193133, 'fraction_numerical': 0.034334763948497854, 'mean_word_length': 3.302583025830258, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5405086', 'n_tokens_mistral': 543, 'n_tokens_neox': 487, 'n_words': 128}