<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from os.path import dirname, join
from _zipcodetw import Directory, __version__

_ROOT = dirname(__file__)

_dir = Directory()
_dir.load_chp_csv(open(join(_ROOT, '201311.csv')))

find_zipcodes = _dir.find_zipcodes
find = _dir.find<commit_msg>renamed var<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from os.path import dirname, join
from _zipcodetw import Directory, __version__

_project_root = dirname(__file__)

_dir = Directory()
_dir.load_chp_csv(open(join(_project_root, '201311.csv')))

find_zipcodes = _dir.find_zipcodes
find = _dir.find
{'fraction_non_alphanumeric': 0.13183279742765272, 'fraction_numerical': 0.022508038585209004, 'mean_word_length': 5.489583333333333, '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': '7282048', 'n_tokens_mistral': 243, 'n_tokens_neox': 228, 'n_words': 48}