<commit_before>import csv
import glob
import os

from collections import namedtuple
from optparse import OptionParser
from zipfile import ZipFile

import core


def collect(pattern, suffix='.zip'):
  """ Yield all records extracted from matching archived filenames """<commit_msg>Removed unnecessary import from core.py<commit_after>import csv
import glob
import os

from collections import namedtuple
from optparse import OptionParser
from zipfile import ZipFile


def collect(pattern, suffix='.zip'):
  """ Yield all records extracted from matching archived filenames """
{'fraction_non_alphanumeric': 0.06108202443280977, 'fraction_numerical': 0.0, 'mean_word_length': 6.08641975308642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6131796', 'n_tokens_mistral': 148, 'n_tokens_neox': 141, 'n_words': 64}